diff options
Diffstat (limited to 'crates/ra_ide/src/goto_definition.rs')
-rw-r--r-- | crates/ra_ide/src/goto_definition.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/crates/ra_ide/src/goto_definition.rs b/crates/ra_ide/src/goto_definition.rs index 1dfca819d..dbb4f38c7 100644 --- a/crates/ra_ide/src/goto_definition.rs +++ b/crates/ra_ide/src/goto_definition.rs | |||
@@ -754,14 +754,14 @@ mod tests { | |||
754 | #[test] | 754 | #[test] |
755 | fn goto_for_type_param() { | 755 | fn goto_for_type_param() { |
756 | check_goto( | 756 | check_goto( |
757 | " | 757 | r#" |
758 | //- /lib.rs | 758 | //- /lib.rs |
759 | struct Foo<T> { | 759 | struct Foo<T: Clone> { |
760 | t: <|>T, | 760 | t: <|>T, |
761 | } | 761 | } |
762 | ", | 762 | "#, |
763 | "T TYPE_PARAM FileId(1) 11..12", | 763 | "T TYPE_PARAM FileId(1) 11..19 11..12", |
764 | "T", | 764 | "T: Clone|T", |
765 | ); | 765 | ); |
766 | } | 766 | } |
767 | 767 | ||