aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_ty/src/tests/simple.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/hir_ty/src/tests/simple.rs')
-rw-r--r--crates/hir_ty/src/tests/simple.rs16
1 files changed, 8 insertions, 8 deletions
diff --git a/crates/hir_ty/src/tests/simple.rs b/crates/hir_ty/src/tests/simple.rs
index 8b09f2e4a..19775a4ec 100644
--- a/crates/hir_ty/src/tests/simple.rs
+++ b/crates/hir_ty/src/tests/simple.rs
@@ -1313,7 +1313,7 @@ fn infer_array() {
1313 255..256 'a': [&str; 1] 1313 255..256 'a': [&str; 1]
1314 258..263 '["b"]': [&str; 1] 1314 258..263 '["b"]': [&str; 1]
1315 259..262 '"b"': &str 1315 259..262 '"b"': &str
1316 274..275 'x': [u8; _] 1316 274..275 'x': [u8; 0]
1317 287..289 '[]': [u8; 0] 1317 287..289 '[]': [u8; 0]
1318 "#]], 1318 "#]],
1319 ); 1319 );
@@ -2409,38 +2409,38 @@ fn infer_operator_overload() {
2409 320..422 '{ ... }': V2 2409 320..422 '{ ... }': V2
2410 334..335 'x': f32 2410 334..335 'x': f32
2411 338..342 'self': V2 2411 338..342 'self': V2
2412 338..344 'self.0': [f32; _] 2412 338..344 'self.0': [f32; 2]
2413 338..347 'self.0[0]': {unknown} 2413 338..347 'self.0[0]': {unknown}
2414 338..358 'self.0...s.0[0]': f32 2414 338..358 'self.0...s.0[0]': f32
2415 345..346 '0': i32 2415 345..346 '0': i32
2416 350..353 'rhs': V2 2416 350..353 'rhs': V2
2417 350..355 'rhs.0': [f32; _] 2417 350..355 'rhs.0': [f32; 2]
2418 350..358 'rhs.0[0]': {unknown} 2418 350..358 'rhs.0[0]': {unknown}
2419 356..357 '0': i32 2419 356..357 '0': i32
2420 372..373 'y': f32 2420 372..373 'y': f32
2421 376..380 'self': V2 2421 376..380 'self': V2
2422 376..382 'self.0': [f32; _] 2422 376..382 'self.0': [f32; 2]
2423 376..385 'self.0[1]': {unknown} 2423 376..385 'self.0[1]': {unknown}
2424 376..396 'self.0...s.0[1]': f32 2424 376..396 'self.0...s.0[1]': f32
2425 383..384 '1': i32 2425 383..384 '1': i32
2426 388..391 'rhs': V2 2426 388..391 'rhs': V2
2427 388..393 'rhs.0': [f32; _] 2427 388..393 'rhs.0': [f32; 2]
2428 388..396 'rhs.0[1]': {unknown} 2428 388..396 'rhs.0[1]': {unknown}
2429 394..395 '1': i32 2429 394..395 '1': i32
2430 406..408 'V2': V2([f32; _]) -> V2 2430 406..408 'V2': V2([f32; 2]) -> V2
2431 406..416 'V2([x, y])': V2 2431 406..416 'V2([x, y])': V2
2432 409..415 '[x, y]': [f32; 2] 2432 409..415 '[x, y]': [f32; 2]
2433 410..411 'x': f32 2433 410..411 'x': f32
2434 413..414 'y': f32 2434 413..414 'y': f32
2435 436..519 '{ ... vb; }': () 2435 436..519 '{ ... vb; }': ()
2436 446..448 'va': V2 2436 446..448 'va': V2
2437 451..453 'V2': V2([f32; _]) -> V2 2437 451..453 'V2': V2([f32; 2]) -> V2
2438 451..465 'V2([0.0, 1.0])': V2 2438 451..465 'V2([0.0, 1.0])': V2
2439 454..464 '[0.0, 1.0]': [f32; 2] 2439 454..464 '[0.0, 1.0]': [f32; 2]
2440 455..458 '0.0': f32 2440 455..458 '0.0': f32
2441 460..463 '1.0': f32 2441 460..463 '1.0': f32
2442 475..477 'vb': V2 2442 475..477 'vb': V2
2443 480..482 'V2': V2([f32; _]) -> V2 2443 480..482 'V2': V2([f32; 2]) -> V2
2444 480..494 'V2([0.0, 1.0])': V2 2444 480..494 'V2([0.0, 1.0])': V2
2445 483..493 '[0.0, 1.0]': [f32; 2] 2445 483..493 '[0.0, 1.0]': [f32; 2]
2446 484..487 '0.0': f32 2446 484..487 '0.0': f32