Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A run-pass test has conflicting repr hints #53857

Closed
pnkfelix opened this issue Aug 31, 2018 · 1 comment
Closed

A run-pass test has conflicting repr hints #53857

pnkfelix opened this issue Aug 31, 2018 · 1 comment
Labels
A-testsuite Area: The testsuite used to check the correctness of rustc

Comments

@pnkfelix
Copy link
Member

The following code hits the lint that warns about conflicting repr hints on a datatype.

#[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.)

@memoryruins memoryruins added the A-testsuite Area: The testsuite used to check the correctness of rustc label Sep 15, 2018
@Enselic Enselic closed this as completed Nov 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-testsuite Area: The testsuite used to check the correctness of rustc
Projects
None yet
Development

No branches or pull requests

3 participants