rust/tests/ui/error-emitter
Noratrieb 01503d0c1e Avoid extra path trimming in method not found error
Method errors have an extra check that force trim paths whenever the
normal string is longer than 10 characters, which can be quite unhelpful
when multiple items have the same name (for example an `Error`).

A user reported this force trimming as being quite unhelpful when they
had a method error where the precise path of the `Error` mattered.

The code uses `tcx.short_string` already to get the normal path, which
tries to be clever around trimming paths if necessary, so there is no
reason for this extra force trimming.
2025-05-24 23:31:07 +02:00
..
E0308-clarification.rs Highlight clarifying information in "expected/found" error 2025-02-02 02:39:43 +00:00
E0308-clarification.svg Highlight clarifying information in "expected/found" error 2025-02-02 02:39:43 +00:00
error-festival.rs Move tests from /ui directory 2025-04-29 18:19:26 +02:00
error-festival.stderr Move tests from /ui directory 2025-04-29 18:19:26 +02:00
highlighting.rs compiletest: Support matching on non-json lines in compiler output 2025-05-04 18:27:45 +03:00
highlighting.svg compiletest: Support matching on non-json lines in compiler output 2025-05-04 18:27:45 +03:00
highlighting.windows.svg compiletest: Support matching on non-json lines in compiler output 2025-05-04 18:27:45 +03:00
multiline-multipart-suggestion.rs compiletest: Support matching on non-json lines in compiler output 2025-05-04 18:27:45 +03:00
multiline-multipart-suggestion.svg compiletest: Support matching on non-json lines in compiler output 2025-05-04 18:27:45 +03:00
multiline-multipart-suggestion.windows.svg compiletest: Support matching on non-json lines in compiler output 2025-05-04 18:27:45 +03:00
multiline-removal-suggestion.rs Account for removal of multiline span in suggestion 2024-12-26 17:41:43 +00:00
multiline-removal-suggestion.svg Avoid extra path trimming in method not found error 2025-05-24 23:31:07 +02:00
unicode-output.rs Don't allow `-Zunstable-options` to take a value 2024-11-18 18:04:59 +11:00
unicode-output.svg Handle fndef rendering together with signature rendering 2024-12-16 10:15:57 +00:00