summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issues/issue-94340.stderr
blob: 9fd7c38a80b77baa627f95375613d5c3d879207c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
error: an inner attribute is not permitted in this context
  --> $DIR/auxiliary/issue-94340-inc.rs:2:1
   |
LL | #![deny(rust_2018_idioms)]
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: inner attributes, like `#![no_std]`, annotate the item enclosing them, and are usually found at the beginning of source files
   = note: outer attributes, like `#[test]`, annotate the item following them

error: an inner attribute is not permitted in this context
  --> $DIR/auxiliary/issue-94340-inc.rs:3:1
   |
LL | #![deny(unused_must_use)]
   | ^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: inner attributes, like `#![no_std]`, annotate the item enclosing them, and are usually found at the beginning of source files
   = note: outer attributes, like `#[test]`, annotate the item following them

error: aborting due to 2 previous errors