diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2023-12-26 16:30:31 +0300 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2024-01-05 19:13:51 +0300 |
| commit | deecbd80cd74454e086fa28a9066381c306e3f52 (patch) | |
| tree | 8bf1455241dbc4fb4feb09ad8c2b1d585561dadf | |
| parent | 6bc08a725f888a06ea3c6844f3d0cc2d2ebc5142 (diff) | |
| download | rust-deecbd80cd74454e086fa28a9066381c306e3f52.tar.gz rust-deecbd80cd74454e086fa28a9066381c306e3f52.zip | |
library: Add `allow(unused_assignments)` to custom MIR doctest
The lint is not yet reported due to span issues, but will be reported later.
| -rw-r--r-- | library/core/src/intrinsics/mir.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/core/src/intrinsics/mir.rs b/library/core/src/intrinsics/mir.rs index c6401ec1e33..334e32b26b1 100644 --- a/library/core/src/intrinsics/mir.rs +++ b/library/core/src/intrinsics/mir.rs @@ -65,6 +65,7 @@ //! ```rust //! #![feature(core_intrinsics, custom_mir)] //! #![allow(internal_features)] +//! #![allow(unused_assignments)] //! //! use core::intrinsics::mir::*; //! |
