also run some generator tests without MIR optimizations
This commit is contained in:
parent
9ea5eed32b
commit
3a129df39c
5 changed files with 15 additions and 0 deletions
|
@ -1,5 +1,8 @@
|
|||
// run-pass
|
||||
|
||||
// revisions: default nomiropt
|
||||
//[nomiropt]compile-flags: -Z mir-opt-level=0
|
||||
|
||||
#![feature(generators, generator_trait)]
|
||||
|
||||
use std::ops::Generator;
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
// run-pass
|
||||
|
||||
// revisions: default nomiropt
|
||||
//[nomiropt]compile-flags: -Z mir-opt-level=0
|
||||
|
||||
#![feature(generators, generator_trait)]
|
||||
|
||||
use std::marker::Unpin;
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
// run-pass
|
||||
|
||||
// revisions: default nomiropt
|
||||
//[nomiropt]compile-flags: -Z mir-opt-level=0
|
||||
|
||||
#![feature(generators, generator_trait)]
|
||||
|
||||
use std::ops::Generator;
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
// run-pass
|
||||
|
||||
// revisions: default nomiropt
|
||||
//[nomiropt]compile-flags: -Z mir-opt-level=0
|
||||
|
||||
#![feature(generators, generator_trait)]
|
||||
|
||||
use std::fmt::Debug;
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
// run-pass
|
||||
|
||||
// revisions: default nomiropt
|
||||
//[nomiropt]compile-flags: -Z mir-opt-level=0
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
// compile-flags: --test
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue