]> git.proxmox.com Git - rustc.git/blob - src/test/ui/span/gated-features-attr-spans.stderr
New upstream version 1.25.0+dfsg1
[rustc.git] / src / test / ui / span / gated-features-attr-spans.stderr
1 error[E0658]: SIMD types are experimental and possibly buggy (see issue #27731)
2 --> $DIR/gated-features-attr-spans.rs:20:1
3 |
4 20 | #[repr(simd)] //~ ERROR are experimental
5 | ^^^^^^^^^^^^^
6 |
7 = help: add #![feature(repr_simd)] to the crate attributes to enable
8
9 warning: `#[must_use]` on methods is experimental (see issue #43302)
10 --> $DIR/gated-features-attr-spans.rs:27:5
11 |
12 27 | #[must_use] fn summon_weapon(&self) -> Weapon { self.weapon }
13 | ^^^^^^^^^^^
14 |
15 = help: add #![feature(fn_must_use)] to the crate attributes to enable
16
17 warning: `#[must_use]` on functions is experimental (see issue #43302)
18 --> $DIR/gated-features-attr-spans.rs:31:1
19 |
20 31 | #[must_use] //~ WARN is experimental
21 | ^^^^^^^^^^^
22 |
23 = help: add #![feature(fn_must_use)] to the crate attributes to enable
24
25 error: aborting due to previous error
26