]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gate-optimize_attribute.stderr
Auto merge of #60132 - davidtwco:issue-60075, r=estebank
[rust.git] / src / test / ui / feature-gate-optimize_attribute.stderr
1 error[E0658]: #[optimize] attribute is an unstable feature
2   --> $DIR/feature-gate-optimize_attribute.rs:7:1
3    |
4 LL | #[optimize(size)]
5    | ^^^^^^^^^^^^^^^^^
6    |
7    = note: for more information, see https://github.com/rust-lang/rust/issues/54882
8    = help: add #![feature(optimize_attribute)] to the crate attributes to enable
9
10 error[E0658]: #[optimize] attribute is an unstable feature
11   --> $DIR/feature-gate-optimize_attribute.rs:10:1
12    |
13 LL | #[optimize(speed)]
14    | ^^^^^^^^^^^^^^^^^^
15    |
16    = note: for more information, see https://github.com/rust-lang/rust/issues/54882
17    = help: add #![feature(optimize_attribute)] to the crate attributes to enable
18
19 error[E0658]: #[optimize] attribute is an unstable feature
20   --> $DIR/feature-gate-optimize_attribute.rs:13:1
21    |
22 LL | #[optimize(banana)]
23    | ^^^^^^^^^^^^^^^^^^^
24    |
25    = note: for more information, see https://github.com/rust-lang/rust/issues/54882
26    = help: add #![feature(optimize_attribute)] to the crate attributes to enable
27
28 error[E0658]: #[optimize] attribute is an unstable feature
29   --> $DIR/feature-gate-optimize_attribute.rs:4:1
30    |
31 LL | #[optimize(size)]
32    | ^^^^^^^^^^^^^^^^^
33    |
34    = note: for more information, see https://github.com/rust-lang/rust/issues/54882
35    = help: add #![feature(optimize_attribute)] to the crate attributes to enable
36
37 error[E0658]: #[optimize] attribute is an unstable feature
38   --> $DIR/feature-gate-optimize_attribute.rs:2:1
39    |
40 LL | #![optimize(speed)]
41    | ^^^^^^^^^^^^^^^^^^^
42    |
43    = note: for more information, see https://github.com/rust-lang/rust/issues/54882
44    = help: add #![feature(optimize_attribute)] to the crate attributes to enable
45
46 error[E0722]: invalid argument
47   --> $DIR/feature-gate-optimize_attribute.rs:13:12
48    |
49 LL | #[optimize(banana)]
50    |            ^^^^^^
51
52 error: aborting due to 6 previous errors
53
54 For more information about this error, try `rustc --explain E0658`.