Skip to content

Commit 9631328

Browse files
committed
Update tests
1 parent d032f87 commit 9631328

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

crates/ra_hir_def/src/item_tree/tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ fn smoke() {
232232
#[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("attr_on_use"))] }, input: None }]) }]
233233
Import { path: ModPath { kind: Plain, segments: [Name(Text("b"))] }, alias: None, visibility: RawVisibilityId("pub(self)"), is_glob: true, is_prelude: false, ast_id: FileAstId::<ra_syntax::ast::generated::nodes::UseItem>(0) }
234234
#[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("ext_crate"))] }, input: None }]) }]
235-
ExternCrate { path: ModPath { kind: Plain, segments: [Name(Text("krate"))] }, alias: None, visibility: RawVisibilityId("pub(self)"), is_macro_use: false, ast_id: FileAstId::<ra_syntax::ast::generated::nodes::ExternCrateItem>(1) }
235+
ExternCrate { path: ModPath { kind: Plain, segments: [Name(Text("krate"))] }, alias: None, visibility: RawVisibilityId("pub(self)"), is_macro_use: false, ast_id: FileAstId::<ra_syntax::ast::generated::nodes::ExternCrate>(1) }
236236
#[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("on_trait"))] }, input: None }]) }]
237237
Trait { name: Name(Text("Tr")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(0), auto: false, items: [TypeAlias(Idx::<TypeAlias>(0)), Const(Idx::<Const>(0)), Function(Idx::<Function>(0)), Function(Idx::<Function>(1))], ast_id: FileAstId::<ra_syntax::ast::generated::nodes::TraitDef>(2) }
238238
> #[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("assoc_ty"))] }, input: None }]) }]

crates/ra_syntax/test_data/parser/inline/ok/0060_extern_crate.rast

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
2-
EXTERN_CRATE_ITEM@0..17
2+
EXTERN_CRATE@0..17
33
44
55

crates/ra_syntax/test_data/parser/ok/0007_extern_crate.rast

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
2-
EXTERN_CRATE_ITEM@0..17
2+
EXTERN_CRATE@0..17
33
44
55
@@ -8,7 +8,7 @@ [email protected]
88
99
1010
11-
EXTERN_CRATE_ITEM@18..42
11+
EXTERN_CRATE@18..42
1212
1313
1414
@@ -23,7 +23,7 @@ [email protected]
2323
2424
2525
26-
EXTERN_CRATE_ITEM@43..68
26+
EXTERN_CRATE@43..68
2727
2828
2929

0 commit comments

Comments
 (0)