Skip to content

Commit 5ae18f4

Browse files
committed
Remove unused import
1 parent 204c8de commit 5ae18f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/ra_hir_def/src/body/lower.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ use ra_syntax::{
1818
use test_utils::tested_by;
1919

2020
use crate::{
21-
adt::{self, StructKind},
21+
adt::StructKind,
2222
body::{Body, BodySourceMap, Expander, PatPtr, SyntheticSyntax},
2323
builtin_type::{BuiltinFloat, BuiltinInt},
2424
db::DefDatabase,
@@ -577,7 +577,7 @@ impl ExprCollector<'_> {
577577
let vis = crate::visibility::Visibility::Public; // FIXME determine correctly
578578
let favor_types = match def {
579579
ModuleDefId::AdtId(AdtId::StructId(s)) => {
580-
self.db.struct_data(s).variant_data.kind() == adt::StructKind::Record
580+
self.db.struct_data(s).variant_data.kind() == StructKind::Record
581581
}
582582
_ => false,
583583
};

0 commit comments

Comments
 (0)