Skip to content

Commit deecbd8

Browse files
committed
library: Add allow(unused_assignments) to custom MIR doctest
The lint is not yet reported due to span issues, but will be reported later.
1 parent 6bc08a7 commit deecbd8

File tree

1 file changed

+1
-0
lines changed
  • library/core/src/intrinsics

1 file changed

+1
-0
lines changed

library/core/src/intrinsics/mir.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@
6565
//! ```rust
6666
//! #![feature(core_intrinsics, custom_mir)]
6767
//! #![allow(internal_features)]
68+
//! #![allow(unused_assignments)]
6869
//!
6970
//! use core::intrinsics::mir::*;
7071
//!

0 commit comments

Comments
 (0)