about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorChayim Refael Friedman <chayimfr@gmail.com>2024-09-29 09:15:58 +0300
committerLukas Wirth <lukastw97@gmail.com>2025-01-01 13:54:23 +0100
commit528ed6bd011757b3e602f40c86ec0e79f613adcf (patch)
tree6834e8bda2df6590b9244c48c0965f462e4c090b /compiler/rustc_codegen_llvm/src/errors.rs
parentbd6ea14002949c2b2fdf9ec51cce3634b7a15147 (diff)
downloadrust-528ed6bd011757b3e602f40c86ec0e79f613adcf.tar.gz
rust-528ed6bd011757b3e602f40c86ec0e79f613adcf.zip
Allow flyimporting excluded trait items if there is an exact match in the name
I.e. with `fn foo()`, don't complete at `x.fo|`, but complete (with imports) for `x.foo|`, since this is less likely to have false positives.

I opted to only do that for flyimport, even though for basic imports there can also be snippet completion (completing the params list for a method), since this is less universally applicable and seems not so useful.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions