diff options
| author | Nathan Corbyn <me@nathancorbyn.com> | 2020-06-24 15:10:10 +0100 |
|---|---|---|
| committer | Nathan Corbyn <me@nathancorbyn.com> | 2020-06-24 15:10:10 +0100 |
| commit | c2dfc25c0eeb74d6c723312d612cd6899058971c (patch) | |
| tree | 3af14133aa4414318a54860b0bb6961a7d4728a7 /src/libcore | |
| parent | d36d351afcb439144621159d8642892cde26eff6 (diff) | |
| download | rust-c2dfc25c0eeb74d6c723312d612cd6899058971c.tar.gz rust-c2dfc25c0eeb74d6c723312d612cd6899058971c.zip | |
Fix tests
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/mem/mod.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libcore/mem/mod.rs b/src/libcore/mem/mod.rs index d041571f260..2be105e68eb 100644 --- a/src/libcore/mem/mod.rs +++ b/src/libcore/mem/mod.rs @@ -1009,6 +1009,8 @@ pub const fn discriminant<T>(v: &T) -> Discriminant<T> { /// # Examples /// /// ``` +/// # #![feature(never_type)] +/// /// use std::mem; /// /// enum Void {} |
