aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/ty/tests.rs
diff options
context:
space:
mode:
authorFlorian Diebold <[email protected]>2019-08-11 12:52:34 +0100
committerFlorian Diebold <[email protected]>2019-08-12 20:43:00 +0100
commit9d72b14cfe3606e9c55e488d74568471f981bb3d (patch)
tree52cbccdc40e22adbd9de1e37e0b32f55b1ae887f /crates/ra_hir/src/ty/tests.rs
parent11b9845afd1daa845ac9d541fd22f1fdf53436c8 (diff)
Normalize assoc types in more places
Diffstat (limited to 'crates/ra_hir/src/ty/tests.rs')
-rw-r--r--crates/ra_hir/src/ty/tests.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/crates/ra_hir/src/ty/tests.rs b/crates/ra_hir/src/ty/tests.rs
index 01b358335..e6a09cc67 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': <S as Iterable>::Item 2518 ⋮[118; 119) 'x': u32
2519 ⋮[145; 146) '1': <S as Iterable>::Item 2519 ⋮[145; 146) '1': u32
2520 ⋮[156; 157) 'y': <T as Iterable>::Item 2520 ⋮[156; 157) 'y': {unknown}
2521 ⋮[183; 192) 'no_matter': <T as Iterable>::Item 2521 ⋮[183; 192) 'no_matter': {unknown}
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': <S as Iterable>::Item 2555 ⋮[222; 223) 'y': u32
2556 ⋮[226; 230) 'foo2': fn foo2<S>(T) -> <T as Iterable>::Item 2556 ⋮[226; 230) 'foo2': fn foo2<S>(T) -> <T as Iterable>::Item
2557 ⋮[226; 233) 'foo2(S)': <S as Iterable>::Item 2557 ⋮[226; 233) 'foo2(S)': u32
2558 ⋮[231; 232) 'S': S 2558 ⋮[231; 232) 'S': S
2559 "### 2559 "###
2560 ); 2560 );