tests: issue-34798.rs => allow-phantomdata-in-ffi.rs
This commit is contained in:
parent
a1fbf251b8
commit
19d5568ad3
@ -2750,7 +2750,6 @@ ui/lint/issue-1866.rs
|
|||||||
ui/lint/issue-19102.rs
|
ui/lint/issue-19102.rs
|
||||||
ui/lint/issue-20343.rs
|
ui/lint/issue-20343.rs
|
||||||
ui/lint/issue-30302.rs
|
ui/lint/issue-30302.rs
|
||||||
ui/lint/issue-34798.rs
|
|
||||||
ui/lint/issue-35075.rs
|
ui/lint/issue-35075.rs
|
||||||
ui/lint/issue-47775-nested-macro-unnecessary-parens-arg.rs
|
ui/lint/issue-47775-nested-macro-unnecessary-parens-arg.rs
|
||||||
ui/lint/issue-49588-non-shorthand-field-patterns-in-pattern-macro.rs
|
ui/lint/issue-49588-non-shorthand-field-patterns-in-pattern-macro.rs
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
//@ run-pass
|
//@ run-pass
|
||||||
#![forbid(improper_ctypes)]
|
#![forbid(improper_ctypes)]
|
||||||
#![allow(dead_code)]
|
#![allow(dead_code)]
|
||||||
|
// issue https://github.com/rust-lang/rust/issues/34798
|
||||||
|
// We allow PhantomData in FFI so bindgen can bind templated C++ structs with "unused generic args"
|
||||||
|
|
||||||
#[repr(C)]
|
#[repr(C)]
|
||||||
pub struct Foo {
|
pub struct Foo {
|
Loading…
Reference in New Issue
Block a user