Skip to content

Commit

Permalink
Rollup merge of #120366 - RalfJung:is_val_statically_known, r=cuviper
Browse files Browse the repository at this point in the history
mark a doctest with UB as no_run

#119911 added a doctest with UB. That one shouldn't be run, or else Miri will complain.
  • Loading branch information
matthiaskrgr authored Jan 26, 2024
2 parents 411b41e + 5dd6418 commit a7f5bde
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 a7f5bde

Please sign in to comment.