This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
tests/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 11// check-fail
22// Tests that a doc comment will not preclude a field from being considered a diagnostic argument
33// 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"
55
66// The proc_macro2 crate handles spans differently when on beta/stable release rather than nightly,
77// 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,
2323 |
2424 = help: normalized in stderr
2525note: 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
2727
2828error: aborting due to 2 previous errors
2929
You can’t perform that action at this time.
0 commit comments