mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-07 17:18:32 +03:00
library: Add allow(unused_assignments) to custom MIR doctest
The lint is not yet reported due to span issues, but will be reported later.
This commit is contained in:
@@ -65,6 +65,7 @@
|
||||
//! ```rust
|
||||
//! #![feature(core_intrinsics, custom_mir)]
|
||||
//! #![allow(internal_features)]
|
||||
//! #![allow(unused_assignments)]
|
||||
//!
|
||||
//! use core::intrinsics::mir::*;
|
||||
//!
|
||||
|
||||
Reference in New Issue
Block a user