1 error: cannot determine resolution for the attribute macro `bench`
2 --> $DIR/issue-43106-gating-of-bench.rs:7:4
4 LL | #![bench = "4100"]
7 = note: import resolution is stuck, try simplifying macro imports
9 error: `bench` attribute cannot be used at crate level
10 --> $DIR/issue-43106-gating-of-bench.rs:7:1
12 LL | #![bench = "4100"]
13 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
15 help: perhaps you meant to use an outer attribute
17 LL | #[bench = "4100"]
20 error: aborting due to 2 previous errors