From d455421edcb0c0084207d44b206ee1032913e580 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Mon, 30 May 2022 19:19:39 -0400 Subject: [PATCH] rustup --- rust-version | 2 +- tests/compile-fail/generator-pinned-moved.rs | 1 + tests/compile-fail/generator-pinned-moved.stderr | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/rust-version b/rust-version index 8da4cbec7ff..09a847a94fb 100644 --- a/rust-version +++ b/rust-version @@ -1 +1 @@ -0f06824013761ed6829887019033f1001e68f623 +c35035cefc709abddabfb28ecc6a326458d46ce2 diff --git a/tests/compile-fail/generator-pinned-moved.rs b/tests/compile-fail/generator-pinned-moved.rs index e0ce5cb7333..8c8e8284700 100644 --- a/tests/compile-fail/generator-pinned-moved.rs +++ b/tests/compile-fail/generator-pinned-moved.rs @@ -1,3 +1,4 @@ +// compile-flags: -Zmiri-disable-validation #![feature(generators, generator_trait)] use std::{ diff --git a/tests/compile-fail/generator-pinned-moved.stderr b/tests/compile-fail/generator-pinned-moved.stderr index 98ccf3097c2..0ac4f8caa07 100644 --- a/tests/compile-fail/generator-pinned-moved.stderr +++ b/tests/compile-fail/generator-pinned-moved.stderr @@ -8,12 +8,12 @@ LL | *num += 1; = 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 ` as std::iter::Iterator>::next` at $DIR/generator-pinned-moved.rs:LL:CC +note: inside ` as std::iter::Iterator>::next` at $DIR/generator-pinned-moved.rs:LL:CC --> $DIR/generator-pinned-moved.rs:LL:CC | LL | match me.resume(()) { | ^^^^^^^^^^^^^ - = note: inside `> as std::iter::Iterator>::next` at rustc_src/src/boxed.rs:LL:CC + = note: inside `> as std::iter::Iterator>::next` at rustc_src/src/boxed.rs:LL:CC note: inside `main` at $DIR/generator-pinned-moved.rs:LL:CC --> $DIR/generator-pinned-moved.rs:LL:CC |