Skip to content

Commit 693be44

Browse files
committed
Fix ui/parser/attr test
1 parent 2787cb2 commit 693be44

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/ui/parser/attr.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
error: an inner attribute is not permitted in this context
2-
--> $DIR/attr.rs:5:3
2+
--> $DIR/attr.rs:5:1
33
|
44
LL | #![lang = "foo"]
5-
| ^
5+
| ^^^^^^^^^^^^^^^^
66
|
77
= 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.
88

0 commit comments

Comments
 (0)