mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-28 18:43:01 +00:00
Fix flyimport not filtering via stability of import path
This commit is contained in:
parent
e22bcfbf57
commit
b31f53e0d6
21 changed files with 89 additions and 20 deletions
|
|
@ -673,6 +673,7 @@ impl Match {
|
|||
prefer_no_std: false,
|
||||
prefer_prelude: true,
|
||||
prefer_absolute: false,
|
||||
allow_unstable: true,
|
||||
};
|
||||
let mod_path = module.find_path(sema.db, module_def, cfg).ok_or_else(|| {
|
||||
match_error!("Failed to render template path `{}` at match location")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue