Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/syntax/src/lib.rs')
-rw-r--r--crates/syntax/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/syntax/src/lib.rs b/crates/syntax/src/lib.rs
index 00749d742f..132d300674 100644
--- a/crates/syntax/src/lib.rs
+++ b/crates/syntax/src/lib.rs
@@ -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() {