about summary refs log tree commit diff
path: root/compiler/rustc_parse/src
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2022-04-23 16:41:36 -0700
committerEsteban Kuber <esteban@kuber.com.ar>2022-05-03 02:00:38 +0000
commit57967269e9946945dedd360e8e8654f5dd76ebd1 (patch)
tree19a8e48a54cf5ac759a9354027ae8b94e876bf7d /compiler/rustc_parse/src
parent3d0ac7ea23888438752957eeeb5aa2b73b4fda72 (diff)
downloadrust-57967269e9946945dedd360e8e8654f5dd76ebd1.tar.gz
rust-57967269e9946945dedd360e8e8654f5dd76ebd1.zip
When suggesting to import an item, also suggest changing the path if appropriate
When we don't find an item we search all of them for an appropriate
import and suggest `use`ing it. This is sometimes done for expressions
that have paths with more than one segment. We now also suggest changing
that path to work with the `use`.

Fix #95413
Diffstat (limited to 'compiler/rustc_parse/src')
0 files changed, 0 insertions, 0 deletions