We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 143b881 commit 0a010b3Copy full SHA for 0a010b3
src/librustc_macros/src/query.rs
@@ -107,7 +107,9 @@ impl Parse for QueryModifier {
107
let block = input.parse()?;
108
Ok(QueryModifier::LoadCached(tcx, id, block))
109
} else if modifier == "storage" {
110
- let ty = input.parse()?;
+ let args;
111
+ parenthesized!(args in input);
112
+ let ty = args.parse()?;
113
Ok(QueryModifier::Storage(ty))
114
} else if modifier == "fatal_cycle" {
115
Ok(QueryModifier::FatalCycle)
0 commit comments