Rollup merge of #120366 - RalfJung:is_val_statically_known, r=cuviper

mark a doctest with UB as no_run

https://github.com/rust-lang/rust/pull/119911 added a doctest with UB. That one shouldn't be run, or else Miri will complain.
This commit is contained in:
Matthias Krüger 2024-01-26 23:15:52 +01:00 committed by GitHub
commit a7f5bde04d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)]