rust/tests/run-make/crate-loading
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
..
multiple-dep-versions-1.rs Add more info on type/trait mismatches for different crate versions 2024-12-07 18:18:08 +00:00
multiple-dep-versions-2.rs Add more info on type/trait mismatches for different crate versions 2024-12-07 18:18:08 +00:00
multiple-dep-versions-3.rs Add more info on type/trait mismatches for different crate versions 2024-12-07 18:18:08 +00:00
multiple-dep-versions.rs Add more info on type/trait mismatches for different crate versions 2024-12-07 18:18:08 +00:00
multiple-dep-versions.stderr Avoid extra path trimming in method not found error 2025-05-24 23:31:07 +02:00
rmake.rs Move the `crate-loading` test to use `diff` output 2024-11-29 18:59:24 +00:00