]> git.proxmox.com Git - rustc.git/blame - src/test/ui/suggestions/repr.stderr
New upstream version 1.28.0+dfsg1
[rustc.git] / src / test / ui / suggestions / repr.stderr
CommitLineData
94b46f34
XL
1warning: `repr` attribute must have a hint
2 --> $DIR/repr.rs:13:1
3 |
4LL | #[repr]
5 | ^^^^^^^ needs a hint
6 |
7 = note: #[warn(bad_repr)] on by default
8 = help: valid hints include `#[repr(C)]`, `#[repr(packed)]`, `#[repr(rust)]` and `#[repr(transparent)]`
9 = note: for more information, visit <https://doc.rust-lang.org/reference/type-layout.html>
10
11warning: `repr` attribute isn't configurable with a literal
12 --> $DIR/repr.rs:17:1
13 |
14LL | #[repr = "B"]
15 | ^^^^^^^^^^^^^ needs a hint
16 |
17 = help: valid hints include `#[repr(C)]`, `#[repr(packed)]`, `#[repr(rust)]` and `#[repr(transparent)]`
18 = note: for more information, visit <https://doc.rust-lang.org/reference/type-layout.html>
19
20warning: `repr` attribute isn't configurable with a literal
21 --> $DIR/repr.rs:21:1
22 |
23LL | #[repr = "C"]
24 | ^^^^^^^^^^^^^ help: give `repr` a hint: `#[repr(C)]`
25