Various FFI run-pass tests probably should be using repr(C)
as lint is instructing.
#53858
Labels
A-repr
Area: the `#[repr(stuff)]` attribute
A-testsuite
Area: The testsuite used to check the correctness of rustc
The following run-pass tests cause the
improper_ctypes
lint to fire. It would probably be fine (and trivial) to add#[repr(C)]
to them.rust/src/test/run-pass/extern-pass-TwoU16s.rs
Line 17 in c2afca3
rust/src/test/run-pass/extern-pass-TwoU32s.rs
Line 17 in c2afca3
rust/src/test/run-pass/extern-pass-TwoU64s.rs
Line 17 in c2afca3
rust/src/test/run-pass/extern-pass-TwoU8s.rs
Line 17 in c2afca3
rust/src/test/run-pass/extern-return-TwoU16s.rs
Line 13 in c2afca3
rust/src/test/run-pass/extern-return-TwoU32s.rs
Line 13 in c2afca3
rust/src/test/run-pass/extern-return-TwoU64s.rs
Line 13 in c2afca3
rust/src/test/run-pass/extern-return-TwoU8s.rs
Line 13 in c2afca3
rust/src/test/run-pass/foreign-fn-with-byval.rs
Line 14 in c2afca3
rust/src/test/run-pass/issue-3656.rs
Line 23 in c2afca3
rust/src/test/run-pass/issue-5754.rs
Line 13 in c2afca3
rust/src/test/run-pass/issue-6470.rs
Line 14 in c2afca3
(I'm just filing this ticket so I have something to point at from a PR for #53764.)
The text was updated successfully, but these errors were encountered: