mark a doctest with UB as no_run
This commit is contained in:
parent
69db514ed9
commit
5dd6418010
@ -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)]
|
||||
|
Loading…
Reference in New Issue
Block a user