1
Fork 0

Remove $tcx metavariable from rustc_query_append

It's not actually necessary and it makes the code harder to read.
This commit is contained in:
Joshua Nelson 2022-08-11 19:54:42 -05:00
parent 87991d5f5d
commit b53761969f
6 changed files with 49 additions and 55 deletions

View file

@ -143,7 +143,7 @@ impl DepKind {
}
macro_rules! define_dep_nodes {
(<$tcx:tt>
(
$(
[$($attrs:tt)*]
$variant:ident $(( $tuple_arg_ty:ty $(,)? ))*
@ -179,7 +179,7 @@ macro_rules! define_dep_nodes {
);
}
rustc_dep_node_append!([define_dep_nodes!][ <'tcx>
rustc_dep_node_append!([define_dep_nodes!][
// We use this for most things when incr. comp. is turned off.
[] Null,