1 error: an inner attribute is not permitted in this context
2 --> $DIR/auxiliary/issue-94340-inc.rs:2:1
4 LL | #![deny(rust_2018_idioms)]
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
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
10 error: an inner attribute is not permitted in this context
11 --> $DIR/auxiliary/issue-94340-inc.rs:3:1
13 LL | #![deny(unused_must_use)]
14 | ^^^^^^^^^^^^^^^^^^^^^^^^^
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
19 error: aborting due to 2 previous errors