rust/tests
Guillaume Gomez 9460f64362
Rollup merge of #141512 - Noratrieb:stop-trimming-this-much, r=compiler-errors
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-25 15:11:48 +02:00
..
assembly aarch64-linux: Default to FramePointer::NonLeaf 2025-05-17 06:42:46 +02:00
auxiliary
codegen Rollup merge of #140950 - clubby789:nonzero-ord-test, r=Mark-Simulacrum 2025-05-25 04:00:55 +02:00
codegen-units
coverage
coverage-run-rustdoc
crashes Auto merge of #140553 - BoxyUwU:defer_type_system_ctfe, r=compiler-errors 2025-05-23 05:30:45 +00:00
debuginfo Use the fn_span when emitting function calls for better debug info. 2025-05-22 14:06:24 -07:00
incremental
mir-opt yeet CanonicalVarInfo 2025-05-23 12:10:53 +00:00
pretty feat: add generated parameters to generated function 2025-05-11 17:54:57 +02:00
run-make Avoid extra path trimming in method not found error 2025-05-24 23:31:07 +02:00
rustdoc
rustdoc-gui Rollup merge of #139831 - lolbinarycat:rustdoc-mobile-sidebar, r=GuillaumeGomez 2025-05-25 04:00:55 +02:00
rustdoc-js yeet CanonicalVarInfo 2025-05-23 12:10:53 +00:00
rustdoc-js-std
rustdoc-json rustdoc JSON: Don't apply #[repr] privacy heuristics 2025-05-22 21:26:48 +02:00
rustdoc-ui Rollup merge of #136400 - lolbinarycat:rustdoc-link-lint-135851, r=GuillaumeGomez 2025-05-23 13:34:17 +02:00
ui Rollup merge of #141512 - Noratrieb:stop-trimming-this-much, r=compiler-errors 2025-05-25 15:11:48 +02:00
ui-fulldeps
COMPILER_TESTS.md