aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide/src/references.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_ide/src/references.rs')
-rw-r--r--crates/ra_ide/src/references.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/ra_ide/src/references.rs b/crates/ra_ide/src/references.rs
index 2c753dade..2b74d7653 100644
--- a/crates/ra_ide/src/references.rs
+++ b/crates/ra_ide/src/references.rs
@@ -29,7 +29,7 @@ use crate::{
29}; 29};
30 30
31pub(crate) use self::{ 31pub(crate) use self::{
32 classify::{classify_name, classify_name_ref}, 32 classify::{classify_name, classify_name2, classify_name_ref, classify_name_ref2},
33 name_definition::{NameDefinition, NameKind}, 33 name_definition::{NameDefinition, NameKind},
34 rename::rename, 34 rename::rename,
35}; 35};
@@ -309,7 +309,7 @@ mod tests {
309 } 309 }
310 impl Foo { 310 impl Foo {
311 fn f() -> i32 { 42 } 311 fn f() -> i32 { 42 }
312 } 312 }
313 fn main() { 313 fn main() {
314 let f: Foo; 314 let f: Foo;
315 f = Foo {a: Foo::f()}; 315 f = Foo {a: Foo::f()};
@@ -319,7 +319,7 @@ mod tests {
319 check_result( 319 check_result(
320 refs, 320 refs,
321 "Foo STRUCT_DEF FileId(1) [5; 39) [12; 15) Other", 321 "Foo STRUCT_DEF FileId(1) [5; 39) [12; 15) Other",
322 &["FileId(1) [142; 145) StructLiteral"], 322 &["FileId(1) [138; 141) StructLiteral"],
323 ); 323 );
324 } 324 }
325 325