]> git.proxmox.com Git - rustc.git/blame - src/test/ui/feature-gates/issue-43106-gating-of-bench.stderr
New upstream version 1.67.1+dfsg1
[rustc.git] / src / test / ui / feature-gates / issue-43106-gating-of-bench.stderr
CommitLineData
416331ca
XL
1error: cannot determine resolution for the attribute macro `bench`
2 --> $DIR/issue-43106-gating-of-bench.rs:7:4
0531ce1d 3 |
416331ca
XL
4LL | #![bench = "4100"]
5 | ^^^^^
6 |
7 = note: import resolution is stuck, try simplifying macro imports
ff7c6d11 8
a2a8927a
XL
9error: `bench` attribute cannot be used at crate level
10 --> $DIR/issue-43106-gating-of-bench.rs:7:1
11 |
12LL | #![bench = "4100"]
13 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
14 |
15help: perhaps you meant to use an outer attribute
16 |
17LL | #[bench = "4100"]
18 |
19
20error: aborting due to 2 previous errors
ff7c6d11 21