Skip to content

Commit

Permalink
allow incorrect clippy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
lcnr committed Dec 17, 2024
1 parent 5f2cba1 commit 4f5e010
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions compiler/rustc_middle/src/ty/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ pub use generics::*;
// Can't use a glob import here as it would cause
// ambiguity when importing the actual types implementing
// the inherent traits from this module.
// FIXME(clippy#13764): remove this `allow`.
#[allow(clippy::useless_attribute)]
#[allow(rustc::non_glob_import_of_type_ir_inherent)]
use inherent::SliceLike;
pub use intrinsic::IntrinsicDef;
Expand Down

0 comments on commit 4f5e010

Please sign in to comment.