Simplify the syntax for macros generated by rustc_queries
- Disallow multiple macros callbacks in the same invocation. In practice, this was never used. - Remove the `[]` brackets around the macro name - Require an `ident`, not an arbitrary `tt`
This commit is contained in:
parent
e188868014
commit
7b8e2a52ff
5 changed files with 10 additions and 10 deletions
|
@ -320,5 +320,5 @@ pub fn alloc_self_profile_query_strings(tcx: TyCtxt<'_>) {
|
|||
}
|
||||
}
|
||||
|
||||
rustc_query_append! { [alloc_once!] }
|
||||
rustc_query_append! { alloc_once! }
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue