mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 21:35:20 +00:00
Finalize impl Grammar
This commit is contained in:
parent
c83467796b
commit
c5798c4d75
54 changed files with 103 additions and 100 deletions
|
@ -204,7 +204,7 @@ fn validate_visibility(vis: ast::Visibility, errors: &mut Vec<SyntaxError>) {
|
|||
_ => return,
|
||||
}
|
||||
|
||||
let impl_def = match parent.parent().and_then(|it| it.parent()).and_then(ast::ImplDef::cast) {
|
||||
let impl_def = match parent.parent().and_then(|it| it.parent()).and_then(ast::Impl::cast) {
|
||||
Some(it) => it,
|
||||
None => return,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue