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:
parent
87991d5f5d
commit
b53761969f
6 changed files with 49 additions and 55 deletions
|
@ -400,10 +400,8 @@ pub fn rustc_queries(input: TokenStream) -> TokenStream {
|
|||
TokenStream::from(quote! {
|
||||
#[macro_export]
|
||||
macro_rules! rustc_query_append {
|
||||
([$($macro:tt)*][$($other:tt)*]) => {
|
||||
([$($macro:tt)*]) => {
|
||||
$($macro)* {
|
||||
$($other)*
|
||||
|
||||
#query_stream
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue