about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-09-28 09:35:10 +0200
committerGitHub <noreply@github.com>2024-09-28 09:35:10 +0200
commit2df6b0773e802b08d1c244e6d07ccb16fecdf209 (patch)
tree4febcef1c9789e24b748dd4f78db29c086794ca0 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent9c4b81c2385bea85e3b3cf17db53dcbb70e62fe4 (diff)
parent0bf928968bf442ba0e4d50e8d716edf2dd43cbbc (diff)
downloadrust-2df6b0773e802b08d1c244e6d07ccb16fecdf209.tar.gz
rust-2df6b0773e802b08d1c244e6d07ccb16fecdf209.zip
Rollup merge of #130924 - surechen:fix_130851, r=compiler-errors
Make clashing_extern_declarations considering generic args for ADT field

In following example, G<u16> should be recognized as different from G<u32> :

```rust
#[repr(C)] pub struct G<T> { g: [T; 4] }

pub mod x { extern "C" { pub fn g(_: super::G<u16>); } }
pub mod y { extern "C" { pub fn g(_: super::G<u32>); } }
```

fixes #130851
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions