about summary refs log tree commit diff
path: root/tests/ui/functions-closures
AgeCommit message (Collapse)AuthorLines
2025-05-31cleaned up some testsKivooeo-0/+29
2025-05-24Avoid extra path trimming in method not found errorNoratrieb-1/+1
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.
2024-11-26tests: remove `//@ pretty-expanded` usages许杰友 Jieyou Xu (Joe)-7/+0
Done with ```bash sd '//@ pretty-expanded.*\n' '' tests/ui/**/*.rs ``` and ``` sd '//@pretty-expanded.*\n' '' tests/ui/**/*.rs ```
2024-02-16[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives许杰友 Jieyou Xu (Joe)-42/+42
2023-09-21adjust how closure/generator types and rvalues are printedRalf Jung-2/+2
2023-01-30Tweak use of trimmed pathsEsteban Küber-1/+1
2023-01-12Render missing generics suggestion verboselyMichael Goulet-3/+6
2023-01-11Change `src/test` to `tests` in source files, fix tidy and testsAlbert Larsan-1/+1
2023-01-11Move /src/test to /testsAlbert Larsan-0/+684