aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/ty/tests.rs
diff options
context:
space:
mode:
authorFlorian Diebold <[email protected]>2019-08-05 21:42:38 +0100
committerFlorian Diebold <[email protected]>2019-08-12 20:43:00 +0100
commit22724f37f3ae73983bf700d10d80a8dbd4fa4073 (patch)
treef5970c453f15d2b60e7c7b026de34316a5c8f4e0 /crates/ra_hir/src/ty/tests.rs
parent6cfdfdecbaed38534397f16e1ea1cda38b0b9395 (diff)
Lower fully qualified associated type paths
I.e. `<T as Trait>::Foo`.
Diffstat (limited to 'crates/ra_hir/src/ty/tests.rs')
-rw-r--r--crates/ra_hir/src/ty/tests.rs14
1 files changed, 7 insertions, 7 deletions
diff --git a/crates/ra_hir/src/ty/tests.rs b/crates/ra_hir/src/ty/tests.rs
index 9d412ff61..01b358335 100644
--- a/crates/ra_hir/src/ty/tests.rs
+++ b/crates/ra_hir/src/ty/tests.rs
@@ -2515,10 +2515,10 @@ fn test<T: Iterable>() {
2515 @r###" 2515 @r###"
2516 2516
2517 ⋮[108; 227) '{ ...ter; }': () 2517 ⋮[108; 227) '{ ...ter; }': ()
2518 ⋮[118; 119) 'x': i32 2518 ⋮[118; 119) 'x': <S as Iterable>::Item
2519 ⋮[145; 146) '1': i32 2519 ⋮[145; 146) '1': <S as Iterable>::Item
2520 ⋮[156; 157) 'y': {unknown} 2520 ⋮[156; 157) 'y': <T as Iterable>::Item
2521 ⋮[183; 192) 'no_matter': {unknown} 2521 ⋮[183; 192) 'no_matter': <T as Iterable>::Item
2522 ⋮[202; 203) 'z': {unknown} 2522 ⋮[202; 203) 'z': {unknown}
2523 ⋮[215; 224) 'no_matter': {unknown} 2523 ⋮[215; 224) 'no_matter': {unknown}
2524 "### 2524 "###
@@ -2552,9 +2552,9 @@ fn test() {
2552 ⋮[205; 209) 'foo1': fn foo1<S>(T) -> {unknown} 2552 ⋮[205; 209) 'foo1': fn foo1<S>(T) -> {unknown}
2553 ⋮[205; 212) 'foo1(S)': {unknown} 2553 ⋮[205; 212) 'foo1(S)': {unknown}
2554 ⋮[210; 211) 'S': S 2554 ⋮[210; 211) 'S': S
2555 ⋮[222; 223) 'y': {unknown} 2555 ⋮[222; 223) 'y': <S as Iterable>::Item
2556 ⋮[226; 230) 'foo2': fn foo2<S>(T) -> {unknown} 2556 ⋮[226; 230) 'foo2': fn foo2<S>(T) -> <T as Iterable>::Item
2557 ⋮[226; 233) 'foo2(S)': {unknown} 2557 ⋮[226; 233) 'foo2(S)': <S as Iterable>::Item
2558 ⋮[231; 232) 'S': S 2558 ⋮[231; 232) 'S': S
2559 "### 2559 "###
2560 ); 2560 );