]> git.proxmox.com Git - rustc.git/blame - src/test/ui/feature-gates/feature-gate-optimize_attribute.stderr
Update unsuspicious file list
[rustc.git] / src / test / ui / feature-gates / 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 |
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 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 |
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 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 |
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 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 |
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 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 |
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
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
136023e0
XL
54Some errors have detailed explanations: E0658, E0722.
55For more information about an error, try `rustc --explain E0658`.