22use base_db:: FilePosition ;
33use either:: Either ;
44use hir:: { HasAttrs , HirDisplay , Semantics , Type } ;
5- use ide_db:: RootDatabase ;
65use stdx:: format_to;
76use syntax:: {
87 ast:: { self , ArgListOwner } ,
98 match_ast, AstNode , SyntaxNode , SyntaxToken , TextRange , TextSize ,
109} ;
1110use test_utils:: mark;
1211
12+ use crate :: RootDatabase ;
13+
1314/// Contains information about a call site. Specifically the
1415/// `FunctionSignature`and current parameter.
1516#[ derive( Debug ) ]
@@ -228,9 +229,9 @@ impl FnCallNode {
228229
229230#[ cfg( test) ]
230231mod tests {
232+ use crate :: RootDatabase ;
231233 use base_db:: { fixture:: ChangeFixture , FilePosition } ;
232234 use expect_test:: { expect, Expect } ;
233- use ide_db:: RootDatabase ;
234235 use test_utils:: { mark, RangeOrOffset } ;
235236
236237 /// Creates analysis from a multi-file fixture, returns positions marked with <|>.
@@ -249,7 +250,7 @@ mod tests {
249250
250251 fn check ( ra_fixture : & str , expect : Expect ) {
251252 let ( db, position) = position ( ra_fixture) ;
252- let call_info = crate :: call_info ( & db, position) ;
253+ let call_info = crate :: call_info:: call_info ( & db, position) ;
253254 let actual = match call_info {
254255 Some ( call_info) => {
255256 let docs = match & call_info. doc {
0 commit comments