File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/test/ui-fulldeps/session-diagnostic Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 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:
Original file line number Diff line number Diff line change @@ -453,7 +453,7 @@ LL | #[derive(SessionDiagnostic)]
453453 |
454454 = help: normalized in stderr
455455note: 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 |
458458LL | arg: impl IntoDiagnosticArg,
459459 | ^^^^^^^^^^^^^^^^^ required by this bound in `DiagnosticBuilder::<'a, G>::set_arg`
You can’t perform that action at this time.
0 commit comments