]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/attributes/issue-100631.rs
1 // issue #100631, make sure `TyCtxt::get_attr` only called by case that compiler
2 // can reasonably deal with multiple attributes.
3 // `repr` will use `TyCtxt::get_attrs` since it's `DuplicatesOk`.
4 #[repr(C)] //~ ERROR: unsupported representation for zero-variant enum [E0084]