Skip to content

Commit 3f1f694

Browse files
committed
Adjust stderr file
1 parent 1fc9ef1 commit 3f1f694

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/test/ui-fulldeps/session-diagnostic/diagnostic-derive.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Tests error conditions for specifying diagnostics using #[derive(SessionDiagnostic)]
33

44
// normalize-stderr-test "the following other types implement trait `IntoDiagnosticArg`:(?:.*\n){0,9}\s+and \d+ others" -> "normalized in stderr"
5-
5+
// normalize-stderr-test "diagnostic_builder\.rs:[0-9]+:[0-9]+" -> "diagnostic_builder.rs:LL:CC"
66
// The proc_macro2 crate handles spans differently when on beta/stable release rather than nightly,
77
// changing the output of this test. Since SessionDiagnostic is strictly internal to the compiler
88
// the test is just ignored on stable and beta:

src/test/ui-fulldeps/session-diagnostic/diagnostic-derive.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ LL | #[derive(SessionDiagnostic)]
453453
|
454454
= help: normalized in stderr
455455
note: required by a bound in `DiagnosticBuilder::<'a, G>::set_arg`
456-
--> $COMPILER_DIR/rustc_errors/src/diagnostic_builder.rs:569:19
456+
--> $COMPILER_DIR/rustc_errors/src/diagnostic_builder.rs:LL:CC
457457
|
458458
LL | arg: impl IntoDiagnosticArg,
459459
| ^^^^^^^^^^^^^^^^^ required by this bound in `DiagnosticBuilder::<'a, G>::set_arg`

0 commit comments

Comments
 (0)