mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
Rename ast::ImplBlock -> ast::ImplDef
This commit is contained in:
parent
f316e074d2
commit
a1e1869554
68 changed files with 216 additions and 224 deletions
|
@ -195,7 +195,7 @@ fn some_thing() -> u32 {
|
|||
mat<|>ch_ast! {
|
||||
match container {
|
||||
ast::TraitDef(it) => {},
|
||||
ast::ImplBlock(it) => {},
|
||||
ast::ImplDef(it) => {},
|
||||
_ => { continue },
|
||||
}
|
||||
}
|
||||
|
@ -207,7 +207,7 @@ fn some_thing() -> u32 {
|
|||
assert_snapshot!(res.expansion, @r###"
|
||||
{
|
||||
if let Some(it) = ast::TraitDef::cast(container.clone()){}
|
||||
else if let Some(it) = ast::ImplBlock::cast(container.clone()){}
|
||||
else if let Some(it) = ast::ImplDef::cast(container.clone()){}
|
||||
else {
|
||||
{
|
||||
continue
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue