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
Copy file name to clipboardexpand all lines: src/test/ui/parser/attr.stderr
+2-2
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
1
error: an inner attribute is not permitted in this context
2
-
--> $DIR/attr.rs:5:3
2
+
--> $DIR/attr.rs:5:1
3
3
|
4
4
LL | #![lang = "foo"]
5
-
| ^
5
+
| ^^^^^^^^^^^^^^^^
6
6
|
7
7
= 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.
0 commit comments