diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-04-29 13:42:13 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-04-29 13:57:41 +1000 |
| commit | e6b3e20243ba3d8dd4f369bfc286599796680e1d (patch) | |
| tree | 2e96c20f94d74d6b6d5b8aa000027ce763f57fde /compiler/rustc_lint/src/traits.rs | |
| parent | 6ce258f6572425d10f3ae6e76340d3f2a45dac12 (diff) | |
| download | rust-e6b3e20243ba3d8dd4f369bfc286599796680e1d.tar.gz rust-e6b3e20243ba3d8dd4f369bfc286599796680e1d.zip | |
Remove `extern crate rustc_session` from `rustc_lint`.
Diffstat (limited to 'compiler/rustc_lint/src/traits.rs')
| -rw-r--r-- | compiler/rustc_lint/src/traits.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_lint/src/traits.rs b/compiler/rustc_lint/src/traits.rs index 789f154eac5..4d1b1dc4fb7 100644 --- a/compiler/rustc_lint/src/traits.rs +++ b/compiler/rustc_lint/src/traits.rs @@ -3,6 +3,7 @@ use crate::LateContext; use crate::LateLintPass; use crate::LintContext; use rustc_hir as hir; +use rustc_session::{declare_lint, declare_lint_pass}; use rustc_span::symbol::sym; declare_lint! { |
