Skip to content

Commit 1547cce

Browse files
committed
fix tests
1 parent edca9fa commit 1547cce

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/test/codegen/box-maybe-uninit.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// compile-flags: -O
22
#![crate_type="lib"]
3-
#![feature(maybe_uninit)]
43

54
use std::mem::MaybeUninit;
65

src/test/run-pass/panic-uninitialized-zeroed.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// This test checks that instantiating an uninhabited type via `mem::{uninitialized,zeroed}` results
33
// in a runtime panic.
44

5-
#![feature(never_type, maybe_uninit)]
5+
#![feature(never_type)]
66

77
use std::{mem, panic};
88

0 commit comments

Comments
 (0)