diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2023-07-15 08:38:50 +0000 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2023-08-04 16:09:13 +0000 |
| commit | 817f45f7bf3632ab2c70cd8f4955f514eb6bc664 (patch) | |
| tree | cd92b18d1c2168b7a0cf5d4d67af214b6fc1bc2b /compiler/rustc_interface/src | |
| parent | ec5b882c2f02441b13123c1694c5704933ebdbb5 (diff) | |
| download | rust-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.rs | 3 |
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(()); } ); }, |
