]> git.lizzy.rs Git - rust.git/blob - src/test/ui/repr/invalid_repr_list_help.rs
Rollup merge of #105955 - Nilstrieb:no-trivial-opt-wrappers-we-have-field-accesses...
[rust.git] / src / test / ui / repr / invalid_repr_list_help.rs
1 #![crate_type = "lib"]
2
3 #[repr(uwu)] //~ERROR: unrecognized representation hint
4 pub struct OwO;
5
6 #[repr(uwu = "a")] //~ERROR: unrecognized representation hint
7 pub struct OwO2(i32);
8
9 #[repr(uwu(4))] //~ERROR: unrecognized representation hint
10 pub struct OwO3 {
11     x: i32,
12 }
13
14 #[repr(uwu, u8)] //~ERROR: unrecognized representation hint
15 pub enum OwO4 {
16     UwU = 1,
17 }