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/noop_method_call.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/noop_method_call.rs')
| -rw-r--r-- | compiler/rustc_lint/src/noop_method_call.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_lint/src/noop_method_call.rs b/compiler/rustc_lint/src/noop_method_call.rs index 970d411fb06..91441248e70 100644 --- a/compiler/rustc_lint/src/noop_method_call.rs +++ b/compiler/rustc_lint/src/noop_method_call.rs @@ -8,6 +8,7 @@ use rustc_hir::def::DefKind; use rustc_hir::{Expr, ExprKind}; use rustc_middle::ty; use rustc_middle::ty::adjustment::Adjust; +use rustc_session::{declare_lint, declare_lint_pass}; use rustc_span::symbol::sym; declare_lint! { |
