]> git.lizzy.rs Git - rust.git/blob - src/test/ui/span/gated-features-attr-spans.stderr
feature error span on attr. for fn_must_use, SIMD/align, macro reƫxport
[rust.git] / src / test / ui / span / gated-features-attr-spans.stderr
1 error: the struct `#[repr(align(u16))]` attribute is experimental (see issue #33626)
2   --> $DIR/gated-features-attr-spans.rs:13:1
3    |
4 13 | #[repr(align(16))]
5    | ^^^^^^^^^^^^^^^^^^
6    |
7    = help: add #![feature(repr_align)] to the crate attributes to enable
8
9 error: SIMD types are experimental and possibly buggy (see issue #27731)
10   --> $DIR/gated-features-attr-spans.rs:20:1
11    |
12 20 | #[repr(simd)]
13    | ^^^^^^^^^^^^^
14    |
15    = help: add #![feature(repr_simd)] to the crate attributes to enable
16
17 warning: `#[must_use]` on methods is experimental (see issue #43302)
18   --> $DIR/gated-features-attr-spans.rs:27:5
19    |
20 27 |     #[must_use] fn summon_weapon(&self) -> Weapon { self.weapon }
21    |     ^^^^^^^^^^^
22    |
23    = help: add #![feature(fn_must_use)] to the crate attributes to enable
24
25 warning: `#[must_use]` on functions is experimental (see issue #43302)
26   --> $DIR/gated-features-attr-spans.rs:30:1
27    |
28 30 | #[must_use]
29    | ^^^^^^^^^^^
30    |
31    = help: add #![feature(fn_must_use)] to the crate attributes to enable
32
33 error: aborting due to 2 previous errors
34