fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: an inner attribute is not permitted in this context 2 --> $DIR/auxiliary/issue-94340-inc.rs:2:1 3 | 4LL | #![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 10error: an inner attribute is not permitted in this context 11 --> $DIR/auxiliary/issue-94340-inc.rs:3:1 12 | 13LL | #![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 19error: aborting due to 2 previous errors 20