about summary refs log tree commit diff
path: root/compiler/rustc_hir_analysis/src/structured_errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-10-10 20:47:34 +0200
committerGitHub <noreply@github.com>2022-10-10 20:47:34 +0200
commit0bd1cba98bcee7579ee54e99dbab216d0d58dc6a (patch)
treec3d38e1d63f23fd163e28fb4581e07bb4bb87257 /compiler/rustc_hir_analysis/src/structured_errors.rs
parent40c1410ce48d06ce8ee4efe1ce8c7b933259d849 (diff)
parent0571b0af65dcc0dd97cce4b976887ab436e5780d (diff)
downloadrust-0bd1cba98bcee7579ee54e99dbab216d0d58dc6a.tar.gz
rust-0bd1cba98bcee7579ee54e99dbab216d0d58dc6a.zip
Rollup merge of #102876 - SparrowLii:import-candidate, r=fee1-dead
suggest candidates for unresolved import

Currently we prompt suggestion of candidates(help notes of `use xxx::yyy`) for names which cannot be resolved, but we don't do that for import statements themselves that couldn't be resolved. It seems reasonable to add candidate help information for these statements as well.
Fixes #102711
Diffstat (limited to 'compiler/rustc_hir_analysis/src/structured_errors.rs')
0 files changed, 0 insertions, 0 deletions