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 5b9b3eef8..150895abb 100644 --- a/crates/ra_ide/src/goto_definition.rs +++ b/crates/ra_ide/src/goto_definition.rs | |||
@@ -787,14 +787,14 @@ mod tests { | |||
787 | #[test] | 787 | #[test] |
788 | fn goto_for_type_param() { | 788 | fn goto_for_type_param() { |
789 | check_goto( | 789 | check_goto( |
790 | " | 790 | r#" |
791 | //- /lib.rs | 791 | //- /lib.rs |
792 | struct Foo<T> { | 792 | struct Foo<T: Clone> { |
793 | t: <|>T, | 793 | t: <|>T, |
794 | } | 794 | } |
795 | ", | 795 | "#, |
796 | "T TYPE_PARAM FileId(1) 11..12", | 796 | "T TYPE_PARAM FileId(1) 11..19 11..12", |
797 | "T", | 797 | "T: Clone|T", |
798 | ); | 798 | ); |
799 | } | 799 | } |
800 | 800 | ||