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

@ -55,7 +55,7 @@ fn describe_as_module(def_id: LocalDefId, tcx: TyCtxt<'_>) -> String {
}
}
rustc_query_append! { [define_queries!][<'tcx>] }
rustc_query_append! { [define_queries!] }
impl<'tcx> Queries<'tcx> {
// Force codegen in the dyn-trait transformation in this crate.