mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 06:51:58 +00:00
mark a doctest with UB as no_run
This commit is contained in:
parent
69db514ed9
commit
5dd6418010
@ -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)]
|
||||
|
Loading…
Reference in New Issue
Block a user