]> git.lizzy.rs Git - rust.git/blob - tests/ui/parser/issues/issue-94340.stderr
Rollup merge of #106717 - klensy:typo, r=lcnr
[rust.git] / tests / ui / parser / issues / issue-94340.stderr
1 error: an inner attribute is not permitted in this context
2   --> $DIR/auxiliary/issue-94340-inc.rs:2:1
3    |
4 LL | #![deny(rust_2018_idioms)]
5    | ^^^^^^^^^^^^^^^^^^^^^^^^^^
6    |
7    = note: inner attributes, like `#![no_std]`, annotate the item enclosing them, and are usually found at the beginning of source files
8    = note: outer attributes, like `#[test]`, annotate the item following them
9
10 error: an inner attribute is not permitted in this context
11   --> $DIR/auxiliary/issue-94340-inc.rs:3:1
12    |
13 LL | #![deny(unused_must_use)]
14    | ^^^^^^^^^^^^^^^^^^^^^^^^^
15    |
16    = note: inner attributes, like `#![no_std]`, annotate the item enclosing them, and are usually found at the beginning of source files
17    = note: outer attributes, like `#[test]`, annotate the item following them
18
19 error: aborting due to 2 previous errors
20