Remove feature(offset_of) from tests
This commit is contained in:
parent
615946db4f
commit
803b810eac
@ -59,6 +59,7 @@
|
|||||||
#![feature(noop_waker)]
|
#![feature(noop_waker)]
|
||||||
#![feature(numfmt)]
|
#![feature(numfmt)]
|
||||||
#![feature(num_midpoint)]
|
#![feature(num_midpoint)]
|
||||||
|
#![cfg_attr(not(bootstrap), feature(offset_of_nested))]
|
||||||
#![feature(isqrt)]
|
#![feature(isqrt)]
|
||||||
#![feature(step_trait)]
|
#![feature(step_trait)]
|
||||||
#![feature(str_internals)]
|
#![feature(str_internals)]
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
// unit-test: GVN
|
// unit-test: GVN
|
||||||
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
|
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
|
||||||
|
|
||||||
#![feature(offset_of, offset_of_enum)]
|
#![feature(offset_of_enum, offset_of_nested)]
|
||||||
|
|
||||||
use std::marker::PhantomData;
|
use std::marker::PhantomData;
|
||||||
use std::mem::offset_of;
|
use std::mem::offset_of;
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
// unit-test: DataflowConstProp
|
// unit-test: DataflowConstProp
|
||||||
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
|
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
|
||||||
|
|
||||||
#![feature(offset_of)]
|
#![feature(offset_of_nested)]
|
||||||
|
|
||||||
use std::marker::PhantomData;
|
use std::marker::PhantomData;
|
||||||
use std::mem::offset_of;
|
use std::mem::offset_of;
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
// pp-exact
|
// pp-exact
|
||||||
#![feature(offset_of)]
|
|
||||||
|
|
||||||
fn main() { std::mem::offset_of!(std :: ops :: Range < usize >, end); }
|
fn main() { std::mem::offset_of!(std :: ops :: Range < usize >, end); }
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
|
|
||||||
// Check that unsizing does not change which field is considered for niche layout.
|
// Check that unsizing does not change which field is considered for niche layout.
|
||||||
|
|
||||||
#![feature(offset_of)]
|
|
||||||
#![allow(dead_code)]
|
#![allow(dead_code)]
|
||||||
|
|
||||||
#[derive(Clone)]
|
#[derive(Clone)]
|
||||||
|
Loading…
Reference in New Issue
Block a user