Skip to content

Commit 036714f

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 4ba31a4 commit 036714f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)