]>
Commit | Line | Data |
---|---|---|
e1599b0c | 1 | error[E0658]: the `#[optimize]` attribute is an experimental feature |
9fa01778 XL |
2 | --> $DIR/feature-gate-optimize_attribute.rs:7:1 |
3 | | | |
532ac7d7 | 4 | LL | #[optimize(size)] |
9fa01778 XL |
5 | | ^^^^^^^^^^^^^^^^^ |
6 | | | |
74b04a01 | 7 | = note: see issue #54882 <https://github.com/rust-lang/rust/issues/54882> for more information |
416331ca | 8 | = help: add `#![feature(optimize_attribute)]` to the crate attributes to enable |
9fa01778 | 9 | |
e1599b0c | 10 | error[E0658]: the `#[optimize]` attribute is an experimental feature |
9fa01778 XL |
11 | --> $DIR/feature-gate-optimize_attribute.rs:10:1 |
12 | | | |
532ac7d7 | 13 | LL | #[optimize(speed)] |
9fa01778 XL |
14 | | ^^^^^^^^^^^^^^^^^^ |
15 | | | |
74b04a01 | 16 | = note: see issue #54882 <https://github.com/rust-lang/rust/issues/54882> for more information |
416331ca | 17 | = help: add `#![feature(optimize_attribute)]` to the crate attributes to enable |
9fa01778 | 18 | |
e1599b0c | 19 | error[E0658]: the `#[optimize]` attribute is an experimental feature |
9fa01778 XL |
20 | --> $DIR/feature-gate-optimize_attribute.rs:13:1 |
21 | | | |
22 | LL | #[optimize(banana)] | |
23 | | ^^^^^^^^^^^^^^^^^^^ | |
24 | | | |
74b04a01 | 25 | = note: see issue #54882 <https://github.com/rust-lang/rust/issues/54882> for more information |
416331ca | 26 | = help: add `#![feature(optimize_attribute)]` to the crate attributes to enable |
9fa01778 | 27 | |
e1599b0c | 28 | error[E0658]: the `#[optimize]` attribute is an experimental feature |
9fa01778 XL |
29 | --> $DIR/feature-gate-optimize_attribute.rs:4:1 |
30 | | | |
532ac7d7 | 31 | LL | #[optimize(size)] |
9fa01778 XL |
32 | | ^^^^^^^^^^^^^^^^^ |
33 | | | |
74b04a01 | 34 | = note: see issue #54882 <https://github.com/rust-lang/rust/issues/54882> for more information |
416331ca | 35 | = help: add `#![feature(optimize_attribute)]` to the crate attributes to enable |
9fa01778 | 36 | |
e1599b0c | 37 | error[E0658]: the `#[optimize]` attribute is an experimental feature |
9fa01778 XL |
38 | --> $DIR/feature-gate-optimize_attribute.rs:2:1 |
39 | | | |
532ac7d7 | 40 | LL | #![optimize(speed)] |
9fa01778 XL |
41 | | ^^^^^^^^^^^^^^^^^^^ |
42 | | | |
74b04a01 | 43 | = note: see issue #54882 <https://github.com/rust-lang/rust/issues/54882> for more information |
416331ca | 44 | = help: add `#![feature(optimize_attribute)]` to the crate attributes to enable |
9fa01778 XL |
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 | ||
136023e0 XL |
54 | Some errors have detailed explanations: E0658, E0722. |
55 | For more information about an error, try `rustc --explain E0658`. |