From 04748a0f16624a1893c1da28a35ca3e220c81fce Mon Sep 17 00:00:00 2001 From: Marcus Klaas de Vries Date: Sat, 26 Jan 2019 00:48:57 +0100 Subject: Add missing ty test snapshot --- .../ra_hir/src/ty/snapshots/tests__generic_fn.snap | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 crates/ra_hir/src/ty/snapshots/tests__generic_fn.snap (limited to 'crates/ra_hir/src/ty/snapshots') diff --git a/crates/ra_hir/src/ty/snapshots/tests__generic_fn.snap b/crates/ra_hir/src/ty/snapshots/tests__generic_fn.snap new file mode 100644 index 000000000..4436dd8aa --- /dev/null +++ b/crates/ra_hir/src/ty/snapshots/tests__generic_fn.snap @@ -0,0 +1,23 @@ +--- +created: "2019-01-25T23:18:55.019197432+00:00" +creator: insta@0.5.2 +expression: "&result" +source: crates/ra_hir/src/ty/tests.rs +--- +[10; 11) 'x': T +[21; 30) '{ x }': T +[27; 28) 'x': T +[44; 45) 'x': &T +[56; 65) '{ x }': &T +[62; 63) 'x': &T +[77; 138) '{ ...(z); }': () +[87; 88) 'y': u32 +[91; 96) '10u32': u32 +[102; 104) 'id': fn id +[102; 107) 'id(y)': u32 +[105; 106) 'y': u32 +[117; 118) 'x': bool +[127; 132) 'clone': fn clone +[127; 135) 'clone(z)': bool +[133; 134) 'z': &bool + -- cgit v1.2.3