rustup
This commit is contained in:
parent
9d418a3f03
commit
d455421edc
@ -1 +1 @@
|
|||||||
0f06824013761ed6829887019033f1001e68f623
|
c35035cefc709abddabfb28ecc6a326458d46ce2
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
// compile-flags: -Zmiri-disable-validation
|
||||||
#![feature(generators, generator_trait)]
|
#![feature(generators, generator_trait)]
|
||||||
|
|
||||||
use std::{
|
use std::{
|
||||||
|
@ -8,12 +8,12 @@ LL | *num += 1;
|
|||||||
= help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
|
= help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
|
||||||
|
|
||||||
= note: inside closure at $DIR/generator-pinned-moved.rs:LL:CC
|
= note: inside closure at $DIR/generator-pinned-moved.rs:LL:CC
|
||||||
note: inside `<GeneratorIteratorAdapter<[static generator@$DIR/generator-pinned-moved.rs:LL:CC: 15:6]> as std::iter::Iterator>::next` at $DIR/generator-pinned-moved.rs:LL:CC
|
note: inside `<GeneratorIteratorAdapter<[static generator@$DIR/generator-pinned-moved.rs:LL:CC: 16:6]> as std::iter::Iterator>::next` at $DIR/generator-pinned-moved.rs:LL:CC
|
||||||
--> $DIR/generator-pinned-moved.rs:LL:CC
|
--> $DIR/generator-pinned-moved.rs:LL:CC
|
||||||
|
|
|
|
||||||
LL | match me.resume(()) {
|
LL | match me.resume(()) {
|
||||||
| ^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^
|
||||||
= note: inside `<std::boxed::Box<GeneratorIteratorAdapter<[static generator@$DIR/generator-pinned-moved.rs:LL:CC: 15:6]>> as std::iter::Iterator>::next` at rustc_src/src/boxed.rs:LL:CC
|
= note: inside `<std::boxed::Box<GeneratorIteratorAdapter<[static generator@$DIR/generator-pinned-moved.rs:LL:CC: 16:6]>> as std::iter::Iterator>::next` at rustc_src/src/boxed.rs:LL:CC
|
||||||
note: inside `main` at $DIR/generator-pinned-moved.rs:LL:CC
|
note: inside `main` at $DIR/generator-pinned-moved.rs:LL:CC
|
||||||
--> $DIR/generator-pinned-moved.rs:LL:CC
|
--> $DIR/generator-pinned-moved.rs:LL:CC
|
||||||
|
|
|
|
||||||
|
Loading…
Reference in New Issue
Block a user