s/Generator/Coroutine/
This commit is contained in:
parent
2f461b74ff
commit
8e264ab07a
@ -12,7 +12,7 @@
|
|||||||
use std::arch::x86_64::*;
|
use std::arch::x86_64::*;
|
||||||
use std::hint::black_box;
|
use std::hint::black_box;
|
||||||
use std::io::Write;
|
use std::io::Write;
|
||||||
use std::ops::Generator;
|
use std::ops::Coroutine;
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
println!("{:?}", std::env::args().collect::<Vec<_>>());
|
println!("{:?}", std::env::args().collect::<Vec<_>>());
|
||||||
|
@ -157,7 +157,7 @@ rm -r tests/run-make/compressed-debuginfo
|
|||||||
|
|
||||||
rm -r tests/run-make/extern-fn-explicit-align # argument alignment not yet supported
|
rm -r tests/run-make/extern-fn-explicit-align # argument alignment not yet supported
|
||||||
|
|
||||||
rm tests/ui/codegen/subtyping-enforces-type-equality.rs # assert_assignable bug with Generator's
|
rm tests/ui/codegen/subtyping-enforces-type-equality.rs # assert_assignable bug with Coroutine's
|
||||||
|
|
||||||
# bugs in the test suite
|
# bugs in the test suite
|
||||||
# ======================
|
# ======================
|
||||||
|
@ -478,7 +478,7 @@ fn codegen_fn_body(fx: &mut FunctionCx<'_, '_, '_>, start_block: Block) {
|
|||||||
TerminatorKind::Yield { .. }
|
TerminatorKind::Yield { .. }
|
||||||
| TerminatorKind::FalseEdge { .. }
|
| TerminatorKind::FalseEdge { .. }
|
||||||
| TerminatorKind::FalseUnwind { .. }
|
| TerminatorKind::FalseUnwind { .. }
|
||||||
| TerminatorKind::GeneratorDrop => {
|
| TerminatorKind::CoroutineDrop => {
|
||||||
bug!("shouldn't exist at codegen {:?}", bb_data.terminator());
|
bug!("shouldn't exist at codegen {:?}", bb_data.terminator());
|
||||||
}
|
}
|
||||||
TerminatorKind::Drop { place, target, unwind: _, replace: _ } => {
|
TerminatorKind::Drop { place, target, unwind: _, replace: _ } => {
|
||||||
|
@ -510,7 +510,7 @@ pub(crate) fn mir_operand_get_const_val<'tcx>(
|
|||||||
| TerminatorKind::Drop { .. }
|
| TerminatorKind::Drop { .. }
|
||||||
| TerminatorKind::Assert { .. } => {}
|
| TerminatorKind::Assert { .. } => {}
|
||||||
TerminatorKind::Yield { .. }
|
TerminatorKind::Yield { .. }
|
||||||
| TerminatorKind::GeneratorDrop
|
| TerminatorKind::CoroutineDrop
|
||||||
| TerminatorKind::FalseEdge { .. }
|
| TerminatorKind::FalseEdge { .. }
|
||||||
| TerminatorKind::FalseUnwind { .. } => unreachable!(),
|
| TerminatorKind::FalseUnwind { .. } => unreachable!(),
|
||||||
TerminatorKind::InlineAsm { .. } => return None,
|
TerminatorKind::InlineAsm { .. } => return None,
|
||||||
|
Loading…
Reference in New Issue
Block a user