]> git.lizzy.rs Git - rust.git/commit
Fix #2467
authorFlorian Diebold <flodiebold@gmail.com>
Tue, 3 Dec 2019 13:59:29 +0000 (14:59 +0100)
committerFlorian Diebold <flodiebold@gmail.com>
Tue, 3 Dec 2019 14:01:23 +0000 (15:01 +0100)
commite4add45951511f9afe348bf6066a724deb0d3ccf
tree0a357e2d3333a06e37f5cb8d6613733c1c0c78ac
parentba4f7fa02f746e5bb3efdaa06c2b35beaa4e3440
Fix #2467

The stand-alone `unify` requires that the type doesn't contain any type
variables. So we can't share the code here for now (without more refactoring)...
crates/ra_hir_ty/src/infer/path.rs
crates/ra_hir_ty/src/infer/unify.rs
crates/ra_hir_ty/src/method_resolution.rs
crates/ra_hir_ty/src/tests.rs