Skip to content

Commit 4f5e010

Browse files
committed
allow incorrect clippy lint
1 parent 5f2cba1 commit 4f5e010

File tree

1 file changed

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

1 file changed

+2
-0
lines changed

compiler/rustc_middle/src/ty/mod.rs

+2
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ 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+
// FIXME(clippy#13764): remove this `allow`.
30+
#[allow(clippy::useless_attribute)]
2931
#[allow(rustc::non_glob_import_of_type_ir_inherent)]
3032
use inherent::SliceLike;
3133
pub use intrinsic::IntrinsicDef;

0 commit comments

Comments
 (0)