diff options
| author | Joshua Nelson <jyn514@gmail.com> | 2020-08-25 10:02:16 -0400 |
|---|---|---|
| committer | Joshua Nelson <jyn514@gmail.com> | 2020-08-25 10:17:07 -0400 |
| commit | ae93bc59608ddfe4d507d630e4526cd3135ca613 (patch) | |
| tree | a11d8d0de1675791fbe41ad1d6a4b9f07e2e548f /compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp | |
| parent | bc7bce463f3bbee87ae47486f2b6e30cdcebaf1f (diff) | |
| download | rust-ae93bc59608ddfe4d507d630e4526cd3135ca613.tar.gz rust-ae93bc59608ddfe4d507d630e4526cd3135ca613.zip | |
Warn about unknown or renamed lints
Originally I tried to do a much broader refactoring that got rid of `init_lints` altogether. My reasoning is that now the lints aren't being run anymore (after https://github.com/rust-lang/rust/pull/73566), there's no need to ignore them explicitly. But it seems there are still some lints that aren't affected by setting `lint_mod` to a no-op: ``` deny(pub_use_of_private_extern_crate) deny(const_err) warn(unused_imports) ``` (there are possibly more, these are just the ones that failed in the rustdoc test suite). Some of these seem like we really should be warning about, but that's a much larger change and I don't propose to make it here. So for the time being, this just adds the `unknown_lints` and `renamed_or_removed_lints` passes to the list of lints rustdoc warns about.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
