File tree 2 files changed +2
-2
lines changed
src/test/ui-fulldeps/session-diagnostic
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 2
2
// Tests error conditions for specifying diagnostics using #[derive(SessionDiagnostic)]
3
3
4
4
// 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"
6
6
// The proc_macro2 crate handles spans differently when on beta/stable release rather than nightly,
7
7
// changing the output of this test. Since SessionDiagnostic is strictly internal to the compiler
8
8
// the test is just ignored on stable and beta:
Original file line number Diff line number Diff line change @@ -453,7 +453,7 @@ LL | #[derive(SessionDiagnostic)]
453
453
|
454
454
= help: normalized in stderr
455
455
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
457
457
|
458
458
LL | arg: impl IntoDiagnosticArg,
459
459
| ^^^^^^^^^^^^^^^^^ required by this bound in `DiagnosticBuilder::<'a, G>::set_arg`
You can’t perform that action at this time.
0 commit comments