Files
rust/tests/ui/type
Esteban Küber 98e889a863 Always use short ty path for call with missing arguments suggestion
Mitigate having too long of a suggestion when there are many arguments missing by not printing the full path of the expected types.

```
error[E0061]: this function takes 5 arguments but 0 arguments were supplied
  --> $DIR/verbose-suggestion-for-missing-fn-args.rs:5:5
   |
LL |     my_very_long_function_name_with_lots_of_args();
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-- multiple arguments are missing
   |
note: function defined here
  --> $DIR/verbose-suggestion-for-missing-fn-args.rs:8:4
   |
LL | fn my_very_long_function_name_with_lots_of_args(
   |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
LL |     _first_long_param: bool,
   |     -----------------------
LL |     _second_long_param: HashMap<Arc<String>, Vec<BTreeSet<usize>>>,
   |     --------------------------------------------------------------
LL |     _third_long_param: usize,
   |     ------------------------
LL |     _fourth_long_param: String,
   |     --------------------------
LL |     _fifth_long_param: Mutex<Option<VecDeque<Arc<String>>>>,
   |     -------------------------------------------------------
help: provide the arguments
   |
LL |     my_very_long_function_name_with_lots_of_args(/* bool */, /* HashMap<Arc<String>, Vec<BTreeSet<usize>>> */, /* usize */, /* String */, /* Mutex<Option<VecDeque<Arc<String>>>> */);
   |                                                  +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
```
2026-07-30 20:36:12 +00:00
..
2026-07-13 10:54:53 +02:00
2026-03-28 16:18:11 +09:00
2026-03-28 16:18:11 +09:00
2025-12-07 10:37:45 +09:00