From 4789a993eb26963a2411dcc3041733a3b034634a Mon Sep 17 00:00:00 2001 From: Florian Diebold Date: Tue, 28 Jan 2020 21:42:58 +0100 Subject: Fix printing of function types --- crates/ra_hir_ty/src/tests/patterns.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crates/ra_hir_ty/src/tests/patterns.rs') diff --git a/crates/ra_hir_ty/src/tests/patterns.rs b/crates/ra_hir_ty/src/tests/patterns.rs index cb3890b42..e25d6dbc4 100644 --- a/crates/ra_hir_ty/src/tests/patterns.rs +++ b/crates/ra_hir_ty/src/tests/patterns.rs @@ -96,13 +96,13 @@ fn test() { [38; 42) 'A(n)': A [40; 41) 'n': &i32 [45; 50) '&A(1)': &A - [46; 47) 'A': A(T) -> A + [46; 47) 'A': A(i32) -> A [46; 50) 'A(1)': A [48; 49) '1': i32 [60; 64) 'A(n)': A [62; 63) 'n': &mut i32 [67; 76) '&mut A(1)': &mut A - [72; 73) 'A': A(T) -> A + [72; 73) 'A': A(i32) -> A [72; 76) 'A(1)': A [74; 75) '1': i32 "### -- cgit v1.2.3