Skip to content

Commit 256a39f

Browse files
committed
allow incorrect clippy lint
1 parent 1cbbc83 commit 256a39f

File tree

1 file changed

+1
-0
lines changed
  • compiler/rustc_middle/src/ty

1 file changed

+1
-0
lines changed

compiler/rustc_middle/src/ty/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ pub use generics::*;
2626
// Can't use a glob import here as it would cause
2727
// ambiguity when importing the actual types implementing
2828
// the inherent traits from this module.
29+
#[allow(clippy::useless_attribute)]
2930
#[allow(rustc::non_glob_import_of_type_ir_inherent)]
3031
use inherent::SliceLike;
3132
pub use intrinsic::IntrinsicDef;

0 commit comments

Comments
 (0)