Skip to content

Commit

Permalink
Unrolled build for rust-lang#120366
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
rust-timer committed Jan 27, 2024
2 parents c073f56 + 5dd6418 commit cff4188
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/core/src/intrinsics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2531,7 +2531,7 @@ extern "rust-intrinsic" {
/// or `false`, and the caller has to ensure sound behavior for both cases.
/// In other words, the following code has *Undefined Behavior*:
///
/// ```
/// ```no_run
/// #![feature(is_val_statically_known)]
/// #![feature(core_intrinsics)]
/// # #![allow(internal_features)]
Expand Down

0 comments on commit cff4188

Please sign in to comment.