Skip to content

Commit 10cb09c

Browse files
committed
Auto merge of #2169 - RalfJung:rustup, r=RalfJung
Rustup Cc rust-lang/rust#97563
2 parents 9d418a3 + 7fb5110 commit 10cb09c

7 files changed

+10
-9
lines changed

rust-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0f06824013761ed6829887019033f1001e68f623
1+
c35035cefc709abddabfb28ecc6a326458d46ce2

tests/compile-fail/generator-pinned-moved.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// compile-flags: -Zmiri-disable-validation
12
#![feature(generators, generator_trait)]
23

34
use std::{

tests/compile-fail/generator-pinned-moved.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ LL | *num += 1;
88
= help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
99

1010
= note: inside closure at $DIR/generator-pinned-moved.rs:LL:CC
11-
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
11+
note: inside `<GeneratorIteratorAdapter<[static generator@$DIR/generator-pinned-moved.rs:LL:CC]> as std::iter::Iterator>::next` at $DIR/generator-pinned-moved.rs:LL:CC
1212
--> $DIR/generator-pinned-moved.rs:LL:CC
1313
|
1414
LL | match me.resume(()) {
1515
| ^^^^^^^^^^^^^
16-
= 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
16+
= note: inside `<std::boxed::Box<GeneratorIteratorAdapter<[static generator@$DIR/generator-pinned-moved.rs:LL:CC]>> as std::iter::Iterator>::next` at rustc_src/src/boxed.rs:LL:CC
1717
note: inside `main` at $DIR/generator-pinned-moved.rs:LL:CC
1818
--> $DIR/generator-pinned-moved.rs:LL:CC
1919
|

tests/compile-fail/panic/bad_unwind.stderr

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ LL | std::panic::catch_unwind(|| unwind()).unwrap_err();
1010
= help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
1111

1212
= note: inside closure at $DIR/bad_unwind.rs:LL:CC
13-
= note: inside `std::panicking::r#try::do_call::<[closure@$DIR/bad_unwind.rs:LL:CC: 13:41], ()>` at rustc_src/src/panicking.rs:LL:CC
14-
= note: inside `std::panicking::r#try::<(), [closure@$DIR/bad_unwind.rs:LL:CC: 13:41]>` at rustc_src/src/panicking.rs:LL:CC
15-
= note: inside `std::panic::catch_unwind::<[closure@$DIR/bad_unwind.rs:LL:CC: 13:41], ()>` at rustc_src/src/panic.rs:LL:CC
13+
= note: inside `std::panicking::r#try::do_call::<[closure@$DIR/bad_unwind.rs:LL:CC], ()>` at rustc_src/src/panicking.rs:LL:CC
14+
= note: inside `std::panicking::r#try::<(), [closure@$DIR/bad_unwind.rs:LL:CC]>` at rustc_src/src/panicking.rs:LL:CC
15+
= note: inside `std::panic::catch_unwind::<[closure@$DIR/bad_unwind.rs:LL:CC], ()>` at rustc_src/src/panic.rs:LL:CC
1616
note: inside `main` at $DIR/bad_unwind.rs:LL:CC
1717
--> $DIR/bad_unwind.rs:LL:CC
1818
|

tests/compile-fail/stacked_borrows/deallocate_against_barrier1.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ note: inside closure at $DIR/deallocate_against_barrier1.rs:LL:CC
1313
|
1414
LL | drop(unsafe { Box::from_raw(raw) });
1515
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
16-
= note: inside `<[closure@$DIR/deallocate_against_barrier1.rs:LL:CC: 12:6] as std::ops::FnOnce<(&mut i32,)>>::call_once - shim` at rustc_src/src/ops/function.rs:LL:CC
16+
= note: inside `<[closure@$DIR/deallocate_against_barrier1.rs:LL:CC] as std::ops::FnOnce<(&mut i32,)>>::call_once - shim` at rustc_src/src/ops/function.rs:LL:CC
1717
note: inside `inner` at $DIR/deallocate_against_barrier1.rs:LL:CC
1818
--> $DIR/deallocate_against_barrier1.rs:LL:CC
1919
|

tests/compile-fail/stacked_borrows/deallocate_against_barrier2.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ note: inside closure at $DIR/deallocate_against_barrier2.rs:LL:CC
1313
|
1414
LL | drop(unsafe { Box::from_raw(raw) });
1515
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
16-
= note: inside `<[closure@$DIR/deallocate_against_barrier2.rs:LL:CC: 16:6] as std::ops::FnOnce<(&std::cell::Cell<i32>,)>>::call_once - shim` at rustc_src/src/ops/function.rs:LL:CC
16+
= note: inside `<[closure@$DIR/deallocate_against_barrier2.rs:LL:CC] as std::ops::FnOnce<(&std::cell::Cell<i32>,)>>::call_once - shim` at rustc_src/src/ops/function.rs:LL:CC
1717
note: inside `inner` at $DIR/deallocate_against_barrier2.rs:LL:CC
1818
--> $DIR/deallocate_against_barrier2.rs:LL:CC
1919
|

tests/compiletest.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ regexes! {
8080
regexes! {
8181
STDERR:
8282
// erase line and column info
83-
r"\.rs:[0-9]+:[0-9]+" => ".rs:LL:CC",
83+
r"\.rs:[0-9]+:[0-9]+(: [0-9]+:[0-9]+)?" => ".rs:LL:CC",
8484
// erase alloc ids
8585
"alloc[0-9]+" => "ALLOC",
8686
// erase Stacked Borrows tags

0 commit comments

Comments
 (0)