remove use of feature(trait_upcasting) from miri
This commit is contained in:
parent
3c94d3e60f
commit
fd945425d1
4 changed files with 2 additions and 9 deletions
|
|
@ -1,3 +1,4 @@
|
|||
#![cfg_attr(bootstrap, feature(trait_upcasting))]
|
||||
#![feature(rustc_private)]
|
||||
#![feature(cell_update)]
|
||||
#![feature(float_gamma)]
|
||||
|
|
@ -9,7 +10,6 @@
|
|||
#![feature(yeet_expr)]
|
||||
#![feature(nonzero_ops)]
|
||||
#![feature(let_chains)]
|
||||
#![feature(trait_upcasting)]
|
||||
#![feature(strict_overflow_ops)]
|
||||
#![feature(pointer_is_aligned_to)]
|
||||
#![feature(unqualified_local_imports)]
|
||||
|
|
|
|||
|
|
@ -1,9 +1,6 @@
|
|||
// Validation stops this too early.
|
||||
//@compile-flags: -Zmiri-disable-validation
|
||||
|
||||
#![feature(trait_upcasting)]
|
||||
#![allow(incomplete_features)]
|
||||
|
||||
trait Foo: PartialEq<i32> + std::fmt::Debug + Send + Sync {
|
||||
#[allow(dead_code)]
|
||||
fn a(&self) -> i32 {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
//@revisions: stack tree
|
||||
//@[tree]compile-flags: -Zmiri-tree-borrows
|
||||
#![allow(incomplete_features)] // for trait upcasting
|
||||
#![feature(allocator_api, trait_upcasting)]
|
||||
#![feature(allocator_api)]
|
||||
|
||||
use std::alloc::{AllocError, Allocator, Layout};
|
||||
use std::cell::Cell;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,3 @@
|
|||
#![feature(trait_upcasting)]
|
||||
#![allow(incomplete_features)]
|
||||
|
||||
use std::fmt;
|
||||
|
||||
fn main() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue