We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 87be1ba commit 8aa2553Copy full SHA for 8aa2553
compiler/rustc_ast/src/attr/mod.rs
@@ -378,7 +378,9 @@ impl MetaItem {
378
_ => path.span.hi(),
379
};
380
let span = path.span.with_hi(hi);
381
- // FIX THIS LATER
+ // FIXME: This parses `unsafe()` not as unsafe attribute syntax in `MetaItem`,
382
+ // but as a parenthesized list. This (and likely `MetaItem`) should be changed in
383
+ // such a way that builtin macros don't accept extraneous `unsafe()`.
384
Some(MetaItem { unsafety: Safety::Default, path, kind, span })
385
}
386
0 commit comments