Skip to content

Commit cff4188

Browse files
authored
Unrolled build for rust-lang#120366
Rollup merge of rust-lang#120366 - RalfJung:is_val_statically_known, r=cuviper mark a doctest with UB as no_run rust-lang#119911 added a doctest with UB. That one shouldn't be run, or else Miri will complain.
2 parents c073f56 + 5dd6418 commit cff4188

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/intrinsics.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2531,7 +2531,7 @@ extern "rust-intrinsic" {
25312531
/// or `false`, and the caller has to ensure sound behavior for both cases.
25322532
/// In other words, the following code has *Undefined Behavior*:
25332533
///
2534-
/// ```
2534+
/// ```no_run
25352535
/// #![feature(is_val_statically_known)]
25362536
/// #![feature(core_intrinsics)]
25372537
/// # #![allow(internal_features)]

0 commit comments

Comments
 (0)