about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/parser-errors.js
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2022-04-23 11:22:51 -0700
committerEsteban Küber <esteban@kuber.com.ar>2022-04-23 11:31:41 -0700
commitacee1f47ef5d75bc9f9043f2be59e4e6ced6892b (patch)
tree284f45c579cbbdfb9470c775f9cbbc577c119701 /tests/rustdoc-js-std/parser-errors.js
parent1e9aa8a96b207668799365bf891a459b62410b60 (diff)
downloadrust-acee1f47ef5d75bc9f9043f2be59e4e6ced6892b.tar.gz
rust-acee1f47ef5d75bc9f9043f2be59e4e6ced6892b.zip
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
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions