You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
= note: inner attributes, like `#![no_std]`, annotate the item enclosing them, and are usually found at the beginning of source files. Outer attributes, like `#[test]`, annotate the item following them.
72
72
73
-
error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, or an operator, found `#`
73
+
error: expected one of `!`, `.`, `::`, `;`, `?`, `else`, `{`, or an operator, found `#`
74
74
--> $DIR/attr-stmt-expr-attr-bad.rs:23:34
75
75
|
76
76
LL | #[cfg(FALSE)] fn e() { let _ = x #![attr] as Y; }
77
-
| ^ expected one of 7 possible tokens
77
+
| ^ expected one of 8 possible tokens
78
78
79
79
error: an inner attribute is not permitted in this context
0 commit comments