diff options
| author | Philipp Krones <hello@philkrones.com> | 2025-08-07 14:53:47 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-07 14:53:47 +0000 |
| commit | 334fb906aef13d20050987b13448f37391bb97a2 (patch) | |
| tree | 30c9c893be1155e72264d3ef0aa06a68824f72fd /clippy_lints/src/functions/must_use.rs | |
| parent | faba846a099e87e0786188b6b4b3e5c27fe2a2c0 (diff) | |
| parent | d5f9f7576c0d903d85b28db68413f5c12438edbc (diff) | |
| download | rust-334fb906aef13d20050987b13448f37391bb97a2.tar.gz rust-334fb906aef13d20050987b13448f37391bb97a2.zip | |
Rustup (#15431)
r? @ghost changelog: none
Diffstat (limited to 'clippy_lints/src/functions/must_use.rs')
| -rw-r--r-- | clippy_lints/src/functions/must_use.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clippy_lints/src/functions/must_use.rs b/clippy_lints/src/functions/must_use.rs index b8d0cec5aeb..8de68bfcb51 100644 --- a/clippy_lints/src/functions/must_use.rs +++ b/clippy_lints/src/functions/must_use.rs @@ -14,7 +14,8 @@ use clippy_utils::source::snippet_indent; use clippy_utils::ty::is_must_use_ty; use clippy_utils::visitors::for_each_expr_without_closures; use clippy_utils::{return_ty, trait_ref_of_method}; -use rustc_attr_data_structures::{AttributeKind, find_attr}; +use rustc_hir::attrs::AttributeKind; +use rustc_hir::find_attr; use rustc_span::Symbol; use rustc_trait_selection::error_reporting::InferCtxtErrorExt; |
