mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
Restore cargo-fmt gating
This commit is contained in:
parent
1e19847af3
commit
680182d0a0
4 changed files with 12 additions and 19 deletions
|
@ -349,8 +349,8 @@ impl<'a, DB: HirDatabase> SemanticsScope<'a, DB> {
|
|||
for item in items {
|
||||
f(name.clone(), item);
|
||||
}
|
||||
return
|
||||
},
|
||||
return;
|
||||
}
|
||||
resolver::ScopeDef::ImplSelfType(it) => ScopeDef::ImplSelfType(it.into()),
|
||||
resolver::ScopeDef::AdtSelfType(it) => ScopeDef::AdtSelfType(it.into()),
|
||||
resolver::ScopeDef::GenericParam(id) => ScopeDef::GenericParam(TypeParam { id }),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue