diff options
| author | Rejyr <jerrylwang123@gmail.com> | 2022-08-23 10:41:02 -0400 |
|---|---|---|
| committer | Rejyr <jerrylwang123@gmail.com> | 2022-08-23 10:41:02 -0400 |
| commit | 1693993d8ff16b1a5d288bc858db052902126053 (patch) | |
| tree | cc4e7b11bb7d9a941b19465277e097558488efaf | |
| parent | 257cf03e2caa673ca1248727c09b4a08d093d706 (diff) | |
cleanup: commented lints
| -rw-r--r-- | compiler/rustc_lint/src/builtin.rs | 3 | ||||
| -rw-r--r-- | compiler/rustc_lint/src/context.rs | 3 | ||||
| -rw-r--r-- | compiler/rustc_lint/src/levels.rs | 3 | ||||
| -rw-r--r-- | compiler/rustc_lint/src/lib.rs | 2 |
4 files changed, 0 insertions, 11 deletions
diff --git a/compiler/rustc_lint/src/builtin.rs b/compiler/rustc_lint/src/builtin.rs index 507abad0d56..af7ef96e485 100644 --- a/compiler/rustc_lint/src/builtin.rs +++ b/compiler/rustc_lint/src/builtin.rs @@ -1,6 +1,3 @@ -// #![deny(rustc::diagnostic_outside_of_impl)] -// #![deny(rustc::untranslatable_diagnostic)] -// //! Lints in the Rust compiler. //! //! This contains lints which can feasibly be implemented as their own diff --git a/compiler/rustc_lint/src/context.rs b/compiler/rustc_lint/src/context.rs index a1fdc557f92..e0679a6112a 100644 --- a/compiler/rustc_lint/src/context.rs +++ b/compiler/rustc_lint/src/context.rs @@ -1,6 +1,3 @@ -// #![deny(rustc::diagnostic_outside_of_impl)] -// #![deny(rustc::untranslatable_diagnostic)] -// //! Implementation of lint checking. //! //! The lint checking is mostly consolidated into one pass which runs diff --git a/compiler/rustc_lint/src/levels.rs b/compiler/rustc_lint/src/levels.rs index 41d89229009..89409b58f88 100644 --- a/compiler/rustc_lint/src/levels.rs +++ b/compiler/rustc_lint/src/levels.rs @@ -1,6 +1,3 @@ -// #![deny(rustc::diagnostic_outside_of_impl)] -// #![deny(rustc::untranslatable_diagnostic)] -// use crate::context::{CheckLintNameResult, LintStore}; use crate::late::unerased_lint_store; use rustc_ast as ast; diff --git a/compiler/rustc_lint/src/lib.rs b/compiler/rustc_lint/src/lib.rs index 23fd5d5eea0..f34e062fd12 100644 --- a/compiler/rustc_lint/src/lib.rs +++ b/compiler/rustc_lint/src/lib.rs @@ -36,8 +36,6 @@ #![feature(let_else)] #![feature(never_type)] #![recursion_limit = "256"] -// #![deny(rustc::diagnostic_outside_of_impl)] -// #![deny(rustc::untranslatable_diagnostic)] #[macro_use] extern crate rustc_middle; |
