rust/compiler/rustc_infer
bors 7c4b476969 Auto merge of #96347 - estebank:issue-96292, r=compiler-errors
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-30 18:44:01 +00:00
..
src Auto merge of #96347 - estebank:issue-96292, r=compiler-errors 2022-04-30 18:44:01 +00:00
Cargo.toml Migrate to 2021 2021-09-20 22:21:42 -04:00