rust/compiler/rustc_infer
Esteban Küber acee1f47ef Erase type params when suggesting fully qualified path
When suggesting the use of a fully qualified path for a method call that
is ambiguous because it has multiple candidates, erase type params in
the resulting code, as they would result in an error when applied. We
replace them with `_` in the output to rely on inference. There might be
cases where this still produces slighlty incomplete suggestions, but it
otherwise produces many more errors in relatively common cases.

Fix #96292
2022-04-23 11:31:41 -07:00
..
src Erase type params when suggesting fully qualified path 2022-04-23 11:31:41 -07:00
Cargo.toml Migrate to 2021 2021-09-20 22:21:42 -04:00