File tree 2 files changed +2
-2
lines changed
tests/ui-fulldeps/session-diagnostic
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
// check-fail
2
2
// Tests that a doc comment will not preclude a field from being considered a diagnostic argument
3
3
// normalize-stderr-test "the following other types implement trait `IntoDiagnosticArg`:(?:.*\n){0,9}\s+and \d+ others" -> "normalized in stderr"
4
- // normalize-stderr-test "diagnostic_builder \.rs:[0-9]+:[0-9]+" -> "diagnostic_builder.rs :LL:CC"
4
+ // normalize-stderr-test "(COMPILER_DIR/.* \.rs) :[0-9]+:[0-9]+" -> "$1 :LL:CC"
5
5
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 Subdiagnostic is strictly internal to the compiler
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ LL | arg: NotIntoDiagnosticArg,
23
23
|
24
24
= help: normalized in stderr
25
25
note: required by a bound in `Diagnostic::set_arg`
26
- --> $COMPILER_DIR/rustc_errors/src/diagnostic.rs:968:5
26
+ --> $COMPILER_DIR/rustc_errors/src/diagnostic.rs:LL:CC
27
27
28
28
error: aborting due to 2 previous errors
29
29
You can’t perform that action at this time.
0 commit comments