about summary refs log tree commit diff
path: root/compiler/rustc_interface/src
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2023-07-15 08:38:50 +0000
committerCamille GILLOT <gillot.camille@gmail.com>2023-08-04 16:09:13 +0000
commit817f45f7bf3632ab2c70cd8f4955f514eb6bc664 (patch)
treecd92b18d1c2168b7a0cf5d4d67af214b6fc1bc2b /compiler/rustc_interface/src
parentec5b882c2f02441b13123c1694c5704933ebdbb5 (diff)
downloadrust-817f45f7bf3632ab2c70cd8f4955f514eb6bc664.tar.gz
rust-817f45f7bf3632ab2c70cd8f4955f514eb6bc664.zip
Querify clashing_extern_declarations lint.
Diffstat (limited to 'compiler/rustc_interface/src')
-rw-r--r--compiler/rustc_interface/src/passes.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/rustc_interface/src/passes.rs b/compiler/rustc_interface/src/passes.rs
index 6b3facd041c..7355136aae5 100644
--- a/compiler/rustc_interface/src/passes.rs
+++ b/compiler/rustc_interface/src/passes.rs
@@ -850,6 +850,9 @@ fn analysis(tcx: TyCtxt<'_>, (): ()) -> Result<()> {
                                 rustc_lint::BuiltinCombinedLateLintPass::new()
                             });
                         });
+                    },
+                    {
+                        tcx.ensure().clashing_extern_declarations(());
                     }
                 );
             },