From 2e8f25884584ec7dd21bdd4be1bcf1c857efa35e Mon Sep 17 00:00:00 2001 From: Florian Diebold Date: Sun, 3 Mar 2019 12:40:36 +0100 Subject: Inline type inference test snapshots --- .../src/ty/snapshots/tests__infer_pattern.snap | 54 ---------------------- 1 file changed, 54 deletions(-) delete mode 100644 crates/ra_hir/src/ty/snapshots/tests__infer_pattern.snap (limited to 'crates/ra_hir/src/ty/snapshots/tests__infer_pattern.snap') diff --git a/crates/ra_hir/src/ty/snapshots/tests__infer_pattern.snap b/crates/ra_hir/src/ty/snapshots/tests__infer_pattern.snap deleted file mode 100644 index 06ef0007c..000000000 --- a/crates/ra_hir/src/ty/snapshots/tests__infer_pattern.snap +++ /dev/null @@ -1,54 +0,0 @@ ---- -created: "2019-03-02T19:54:58.538812297Z" -creator: insta@0.6.3 -source: crates/ra_hir/src/ty/tests.rs -expression: "&result" ---- -[9; 10) 'x': &i32 -[18; 369) '{ ...o_x; }': () -[28; 29) 'y': &i32 -[32; 33) 'x': &i32 -[43; 45) '&z': &i32 -[44; 45) 'z': i32 -[48; 49) 'x': &i32 -[59; 60) 'a': i32 -[63; 64) 'z': i32 -[74; 80) '(c, d)': (i32, &str) -[75; 76) 'c': i32 -[78; 79) 'd': &str -[83; 95) '(1, "hello")': (i32, &str) -[84; 85) '1': i32 -[87; 94) '"hello"': &str -[102; 152) 'for (e... }': () -[106; 112) '(e, f)': ({unknown}, {unknown}) -[107; 108) 'e': {unknown} -[110; 111) 'f': {unknown} -[116; 125) 'some_iter': {unknown} -[126; 152) '{ ... }': () -[140; 141) 'g': {unknown} -[144; 145) 'e': {unknown} -[158; 205) 'if let... }': () -[165; 170) '[val]': {unknown} -[173; 176) 'opt': {unknown} -[177; 205) '{ ... }': () -[191; 192) 'h': {unknown} -[195; 198) 'val': {unknown} -[215; 221) 'lambda': {unknown} -[224; 256) '|a: u6...b; c }': {unknown} -[225; 226) 'a': u64 -[233; 234) 'b': u64 -[236; 237) 'c': i32 -[244; 256) '{ a + b; c }': i32 -[246; 247) 'a': u64 -[246; 251) 'a + b': u64 -[250; 251) 'b': u64 -[253; 254) 'c': i32 -[267; 279) 'ref ref_to_x': &&i32 -[282; 283) 'x': &i32 -[293; 302) 'mut mut_x': &i32 -[305; 306) 'x': &i32 -[316; 336) 'ref mu...f_to_x': &mut &i32 -[339; 340) 'x': &i32 -[350; 351) 'k': &mut &i32 -[354; 366) 'mut_ref_to_x': &mut &i32 - -- cgit v1.2.3