File tree 4 files changed +0
-11
lines changed
4 files changed +0
-11
lines changed Original file line number Diff line number Diff line change 1
- // #![deny(rustc::diagnostic_outside_of_impl)]
2
- // #![deny(rustc::untranslatable_diagnostic)]
3
- //
4
1
//! Lints in the Rust compiler.
5
2
//!
6
3
//! This contains lints which can feasibly be implemented as their own
Original file line number Diff line number Diff line change 1
- // #![deny(rustc::diagnostic_outside_of_impl)]
2
- // #![deny(rustc::untranslatable_diagnostic)]
3
- //
4
1
//! Implementation of lint checking.
5
2
//!
6
3
//! The lint checking is mostly consolidated into one pass which runs
Original file line number Diff line number Diff line change 1
- // #![deny(rustc::diagnostic_outside_of_impl)]
2
- // #![deny(rustc::untranslatable_diagnostic)]
3
- //
4
1
use crate :: context:: { CheckLintNameResult , LintStore } ;
5
2
use crate :: late:: unerased_lint_store;
6
3
use rustc_ast as ast;
Original file line number Diff line number Diff line change 36
36
#![ feature( let_else) ]
37
37
#![ feature( never_type) ]
38
38
#![ recursion_limit = "256" ]
39
- // #![deny(rustc::diagnostic_outside_of_impl)]
40
- // #![deny(rustc::untranslatable_diagnostic)]
41
39
42
40
#[ macro_use]
43
41
extern crate rustc_middle;
You can’t perform that action at this time.
0 commit comments