mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-08-20 18:40:24 +00:00
Rename *Owner
traits to Has*
This commit is contained in:
parent
a28c5d7311
commit
b6ed91a6de
101 changed files with 393 additions and 397 deletions
|
@ -255,7 +255,7 @@ macro_rules! match_ast {
|
|||
/// API.
|
||||
#[test]
|
||||
fn api_walkthrough() {
|
||||
use ast::{ModuleItemOwner, NameOwner};
|
||||
use ast::{HasModuleItem, HasName};
|
||||
|
||||
let source_code = "
|
||||
fn foo() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue