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