From 82fe7b77a3b4f49540ae1fc319bdd38afd73c877 Mon Sep 17 00:00:00 2001 From: Florian Diebold Date: Sat, 23 Feb 2019 22:59:01 +0100 Subject: Refactor associated method resolution a bit and make it work with generics --- .../src/ty/snapshots/tests__infer_associated_method_generics.snap | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'crates/ra_hir/src/ty/snapshots') diff --git a/crates/ra_hir/src/ty/snapshots/tests__infer_associated_method_generics.snap b/crates/ra_hir/src/ty/snapshots/tests__infer_associated_method_generics.snap index fe5d6590e..44694dfdb 100644 --- a/crates/ra_hir/src/ty/snapshots/tests__infer_associated_method_generics.snap +++ b/crates/ra_hir/src/ty/snapshots/tests__infer_associated_method_generics.snap @@ -1,5 +1,5 @@ --- -created: "2019-02-21T10:25:18.568887300Z" +created: "2019-02-23T21:58:35.844769207Z" creator: insta@0.6.3 source: crates/ra_hir/src/ty/tests.rs expression: "&result" @@ -9,8 +9,8 @@ expression: "&result" [92; 103) 'Gen { val }': Gen [98; 101) 'val': T [123; 155) '{ ...32); }': () -[133; 134) 'a': Gen<[unknown]> -[137; 146) 'Gen::make': fn make<[unknown]>(T) -> Gen -[137; 152) 'Gen::make(0u32)': Gen<[unknown]> +[133; 134) 'a': Gen +[137; 146) 'Gen::make': fn make(T) -> Gen +[137; 152) 'Gen::make(0u32)': Gen [147; 151) '0u32': u32 -- cgit v1.2.3