Skip to content

Commit 581c1ab

Browse files
committed
normalize away some Windows-only panic printing
1 parent e2d8817 commit 581c1ab

File tree

6 files changed

+15
-3
lines changed

6 files changed

+15
-3
lines changed

src/test/ui/proc-macro/invalid-punct-ident-1.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
// aux-build:invalid-punct-ident.rs
22

3+
// FIXME https://github.com/rust-lang/rust/issues/59998
4+
// normalize-stderr-windows "thread.*panicked.*proc_macro_server.rs.*\n" -> ""
5+
// normalize-stderr-windows "note:.*RUST_BACKTRACE=1.*\n" -> ""
6+
37
#[macro_use]
48
extern crate invalid_punct_ident;
59

src/test/ui/proc-macro/invalid-punct-ident-1.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error: proc macro panicked
2-
--> $DIR/invalid-punct-ident-1.rs:6:1
2+
--> $DIR/invalid-punct-ident-1.rs:10:1
33
|
44
LL | invalid_punct!();
55
| ^^^^^^^^^^^^^^^^^

src/test/ui/proc-macro/invalid-punct-ident-2.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
// aux-build:invalid-punct-ident.rs
22

3+
// FIXME https://github.com/rust-lang/rust/issues/59998
4+
// normalize-stderr-windows "thread.*panicked.*proc_macro_server.rs.*\n" -> ""
5+
// normalize-stderr-windows "note:.*RUST_BACKTRACE=1.*\n" -> ""
6+
37
#[macro_use]
48
extern crate invalid_punct_ident;
59

src/test/ui/proc-macro/invalid-punct-ident-2.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error: proc macro panicked
2-
--> $DIR/invalid-punct-ident-2.rs:6:1
2+
--> $DIR/invalid-punct-ident-2.rs:10:1
33
|
44
LL | invalid_ident!();
55
| ^^^^^^^^^^^^^^^^^

src/test/ui/proc-macro/invalid-punct-ident-3.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
// aux-build:invalid-punct-ident.rs
22

3+
// FIXME https://github.com/rust-lang/rust/issues/59998
4+
// normalize-stderr-windows "thread.*panicked.*proc_macro_server.rs.*\n" -> ""
5+
// normalize-stderr-windows "note:.*RUST_BACKTRACE=1.*\n" -> ""
6+
37
#[macro_use]
48
extern crate invalid_punct_ident;
59

src/test/ui/proc-macro/invalid-punct-ident-3.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error: proc macro panicked
2-
--> $DIR/invalid-punct-ident-3.rs:6:1
2+
--> $DIR/invalid-punct-ident-3.rs:10:1
33
|
44
LL | invalid_raw_ident!();
55
| ^^^^^^^^^^^^^^^^^^^^^

0 commit comments

Comments
 (0)