Fix ui/parser/attr test
This commit is contained in:
parent
2787cb23f0
commit
693be441f4
1 changed files with 2 additions and 2 deletions
|
@ -1,8 +1,8 @@
|
|||
error: an inner attribute is not permitted in this context
|
||||
--> $DIR/attr.rs:5:3
|
||||
--> $DIR/attr.rs:5:1
|
||||
|
|
||||
LL | #![lang = "foo"]
|
||||
| ^
|
||||
| ^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= 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.
|
||||
|
||||
|
|
Loading…
Reference in a new issue