aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_ty/src/tests/regression.rs
diff options
context:
space:
mode:
authorFlorian Diebold <[email protected]>2021-05-16 16:56:38 +0100
committerFlorian Diebold <[email protected]>2021-05-21 16:49:07 +0100
commit4bd446f5b3f8035d5db1fde1c6c50073e3f4fb2b (patch)
treefee7c98d53e93b9a1d743450d290fa1cb2ae0df4 /crates/hir_ty/src/tests/regression.rs
parenta78f0076abbbf61f7b68ce5c323639037c8a72de (diff)
Get rid of resolve_ty_as_possible
Instead use shallow resolving where necessary.
Diffstat (limited to 'crates/hir_ty/src/tests/regression.rs')
-rw-r--r--crates/hir_ty/src/tests/regression.rs16
1 files changed, 8 insertions, 8 deletions
diff --git a/crates/hir_ty/src/tests/regression.rs b/crates/hir_ty/src/tests/regression.rs
index 59a16f390..baef81590 100644
--- a/crates/hir_ty/src/tests/regression.rs
+++ b/crates/hir_ty/src/tests/regression.rs
@@ -117,19 +117,19 @@ fn recursive_vars_2() {
117 "#, 117 "#,
118 expect![[r#" 118 expect![[r#"
119 10..79 '{ ...x)]; }': () 119 10..79 '{ ...x)]; }': ()
120 20..21 'x': {unknown} 120 20..21 'x': &{unknown}
121 24..31 'unknown': {unknown} 121 24..31 'unknown': &{unknown}
122 41..42 'y': {unknown} 122 41..42 'y': {unknown}
123 45..52 'unknown': {unknown} 123 45..52 'unknown': {unknown}
124 58..76 '[(x, y..., &x)]': [({unknown}, {unknown}); 2] 124 58..76 '[(x, y..., &x)]': [(&{unknown}, {unknown}); 2]
125 59..65 '(x, y)': ({unknown}, {unknown}) 125 59..65 '(x, y)': (&{unknown}, {unknown})
126 60..61 'x': {unknown} 126 60..61 'x': &{unknown}
127 63..64 'y': {unknown} 127 63..64 'y': {unknown}
128 67..75 '(&y, &x)': (&{unknown}, &{unknown}) 128 67..75 '(&y, &x)': (&{unknown}, {unknown})
129 68..70 '&y': &{unknown} 129 68..70 '&y': &{unknown}
130 69..70 'y': {unknown} 130 69..70 'y': {unknown}
131 72..74 '&x': &{unknown} 131 72..74 '&x': &&{unknown}
132 73..74 'x': {unknown} 132 73..74 'x': &{unknown}
133 "#]], 133 "#]],
134 ); 134 );
135} 135}