Skip to content

Commit

Permalink
tests: issue-34798.rs => allow-phantomdata-in-ffi.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
workingjubilee committed Sep 27, 2024
1 parent a1fbf25 commit 19d5568
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/tools/tidy/src/issues.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2750,7 +2750,6 @@ ui/lint/issue-1866.rs
ui/lint/issue-19102.rs
ui/lint/issue-20343.rs
ui/lint/issue-30302.rs
ui/lint/issue-34798.rs
ui/lint/issue-35075.rs
ui/lint/issue-47775-nested-macro-unnecessary-parens-arg.rs
ui/lint/issue-49588-non-shorthand-field-patterns-in-pattern-macro.rs
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
//@ run-pass
#![forbid(improper_ctypes)]
#![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)]
pub struct Foo {
Expand Down

0 comments on commit 19d5568

Please sign in to comment.