mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-29 10:58:02 +00:00
Fix associated item visibility in block-local impls
This commit is contained in:
parent
443801755c
commit
83e24fec98
5 changed files with 52 additions and 8 deletions
|
|
@ -120,7 +120,7 @@ impl Visibility {
|
|||
self,
|
||||
db: &dyn DefDatabase,
|
||||
def_map: &DefMap,
|
||||
mut from_module: crate::LocalModuleId,
|
||||
mut from_module: LocalModuleId,
|
||||
) -> bool {
|
||||
let mut to_module = match self {
|
||||
Visibility::Module(m) => m,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue