Esteban Küber
99f2977031
Modify structured suggestion output
...
* On suggestions that include deletions, use a diff inspired output format
* When suggesting addition, use `+` as underline
* Color highlight modified span
2021-08-11 09:46:24 +00:00
Esteban Kuber
f3021b3561
Use smaller spans when suggesting method call disambiguation
2021-08-09 16:47:09 +00:00
Rustin-Liu
b07e7fe047
Rename AssocKind::Method to AssocKind::Fn
...
Rename fn_has_self_argument to fn_has_self_parameter
Rename AssocItemKind::Method to AssocItemKind::Fn
Refine has_no_input_arg
Refine has_no_input_arg
Revert has_no_input_arg
Refine suggestion_descr
Move as_def_kind into AssocKind
Signed-off-by: Rustin-Liu <rustin.liu@gmail.com>
Fix tidy check issue
Signed-off-by: Rustin-Liu <rustin.liu@gmail.com>
2020-04-14 07:12:07 +08:00
Esteban Küber
9175940c92
Use more targetted span for error label
2020-03-22 16:09:42 -07:00
Esteban Küber
8c4f1d5f87
review comments
2019-12-11 18:21:52 -08:00
Esteban Küber
3980342f31
Use structured suggestion for disambiguating method calls
...
Fix #65635 .
2019-12-11 17:42:28 -08:00
Ilija Tovilo
bd8813e52c
Add method disambiguation help for trait implementation
...
Closes #51046
Closes #40471
2019-07-24 03:03:52 +02:00