Skip to content

Commit 4931996

Browse files
committed
Fix tests
1 parent c2dfc25 commit 4931996

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libcore/mem/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1010,6 +1010,7 @@ pub const fn discriminant<T>(v: &T) -> Discriminant<T> {
10101010
///
10111011
/// ```
10121012
/// # #![feature(never_type)]
1013+
/// # #![feature(variant_count)]
10131014
///
10141015
/// use std::mem;
10151016
///

0 commit comments

Comments
 (0)