mark a doctest with UB as no_run

This commit is contained in:
Ralf Jung 2024-01-26 07:44:18 +01:00
parent 69db514ed9
commit 5dd6418010

View File

@ -2531,7 +2531,7 @@ pub fn const_eval_select<ARG: Tuple, F, G, RET>(
/// 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)]