diff options
| author | Jubilee Young <workingjubilee@gmail.com> | 2024-09-27 14:12:57 -0700 |
|---|---|---|
| committer | Jubilee Young <workingjubilee@gmail.com> | 2024-09-27 14:29:34 -0700 |
| commit | 19d5568ad3a83d48b152f5c7182c364005ee969e (patch) | |
| tree | 673c7185e95386cc826f69e13c38be085f74a904 | |
| parent | a1fbf251b81b165016d4f29ea9a9e08647275957 (diff) | |
| download | rust-19d5568ad3a83d48b152f5c7182c364005ee969e.tar.gz rust-19d5568ad3a83d48b152f5c7182c364005ee969e.zip | |
tests: issue-34798.rs => allow-phantomdata-in-ffi.rs
| -rw-r--r-- | src/tools/tidy/src/issues.txt | 1 | ||||
| -rw-r--r-- | tests/ui/lint/improper_ctypes/allow-phantomdata-in-ffi.rs (renamed from tests/ui/lint/issue-34798.rs) | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/tidy/src/issues.txt b/src/tools/tidy/src/issues.txt index 89535079772..86cae849b97 100644 --- a/src/tools/tidy/src/issues.txt +++ b/src/tools/tidy/src/issues.txt @@ -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 diff --git a/tests/ui/lint/issue-34798.rs b/tests/ui/lint/improper_ctypes/allow-phantomdata-in-ffi.rs index 064fc7c4ad6..a90159d2b58 100644 --- a/tests/ui/lint/issue-34798.rs +++ b/tests/ui/lint/improper_ctypes/allow-phantomdata-in-ffi.rs @@ -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 { |
