-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-testsuiteArea: The testsuite used to check the correctness of rustcArea: The testsuite used to check the correctness of rustc
Description
The following code hits the lint that warns about conflicting repr
hints on a datatype.
rust/src/test/run-pass/issue-39720.rs
Lines 15 to 23 in c2afca3
#[repr(C)] | |
#[repr(simd)] | |
#[derive(Copy, Clone, Debug)] | |
pub struct char3(pub i8, pub i8, pub i8); | |
#[repr(C)] | |
#[repr(simd)] | |
#[derive(Copy, Clone, Debug)] | |
pub struct short3(pub i16, pub i16, pub i16); |
(I'm just filing this ticket so I have something to point at from a PR for #53764.)
Metadata
Metadata
Assignees
Labels
A-testsuiteArea: The testsuite used to check the correctness of rustcArea: The testsuite used to check the correctness of rustc