Skip to content

Commit

Permalink
Fix ui/parser/attr test
Browse files Browse the repository at this point in the history
  • Loading branch information
eupn committed Jul 27, 2019
1 parent 2787cb2 commit 693be44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/ui/parser/attr.stderr
Original file line number Diff line number Diff line change
@@ -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.

Expand Down

0 comments on commit 693be44

Please sign in to comment.