1 error[E0658]: the `#[optimize]` attribute is an experimental feature
2 --> $DIR/feature-gate-optimize_attribute.rs:7:1
7 = note: see issue #54882 <https://github.com/rust-lang/rust/issues/54882> for more information
8 = help: add `#![feature(optimize_attribute)]` to the crate attributes to enable
10 error[E0658]: the `#[optimize]` attribute is an experimental feature
11 --> $DIR/feature-gate-optimize_attribute.rs:10:1
13 LL | #[optimize(speed)]
16 = note: see issue #54882 <https://github.com/rust-lang/rust/issues/54882> for more information
17 = help: add `#![feature(optimize_attribute)]` to the crate attributes to enable
19 error[E0658]: the `#[optimize]` attribute is an experimental feature
20 --> $DIR/feature-gate-optimize_attribute.rs:13:1
22 LL | #[optimize(banana)]
25 = note: see issue #54882 <https://github.com/rust-lang/rust/issues/54882> for more information
26 = help: add `#![feature(optimize_attribute)]` to the crate attributes to enable
28 error[E0658]: the `#[optimize]` attribute is an experimental feature
29 --> $DIR/feature-gate-optimize_attribute.rs:4:1
31 LL | #[optimize(size)]
34 = note: see issue #54882 <https://github.com/rust-lang/rust/issues/54882> for more information
35 = help: add `#![feature(optimize_attribute)]` to the crate attributes to enable
37 error[E0658]: the `#[optimize]` attribute is an experimental feature
38 --> $DIR/feature-gate-optimize_attribute.rs:2:1
40 LL | #![optimize(speed)]
43 = note: see issue #54882 <https://github.com/rust-lang/rust/issues/54882> for more information
44 = help: add `#![feature(optimize_attribute)]` to the crate attributes to enable
46 error[E0722]: invalid argument
47 --> $DIR/feature-gate-optimize_attribute.rs:13:12
49 LL | #[optimize(banana)]
52 error: aborting due to 6 previous errors
54 Some errors have detailed explanations: E0658, E0722.
55 For more information about an error, try `rustc --explain E0658`.