diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-10-11 12:21:07 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-11 12:21:07 +0200 |
| commit | e00f49db1759aedeb53a1271c086473983650a9f (patch) | |
| tree | b0417812c3ac265ac52ab55248547b8dee4fde34 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 09698826282e170726349a29b16ef48506bb378b (diff) | |
| parent | 7e05da8d42a730c15983bbd56dfbf744b32032d4 (diff) | |
| download | rust-e00f49db1759aedeb53a1271c086473983650a9f.tar.gz rust-e00f49db1759aedeb53a1271c086473983650a9f.zip | |
Rollup merge of #131498 - Urgau:transparent-const-anons, r=lcnr
Consider outermost const-anon in `non_local_def` lint This PR change the logic for finding the parent of the `impl` definition in the `non_local_definitions` lint to consider multiple level of const-anon items, instead of only one currently. I also took the opportunity to cleanup the related code. cc ``@traviscross`` Fixes https://github.com/rust-lang/rust/issues/131474
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
