1 error: an inner attribute is not permitted in this context
2 --> $DIR/issue-45296.rs:4:5
4 LL | #![allow(unused_variables)]
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
7 = 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.
9 error: aborting due to previous error