]> git.lizzy.rs Git - rust.git/commit
Merge #3165
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>
Sun, 16 Feb 2020 12:03:42 +0000 (12:03 +0000)
committerGitHub <noreply@github.com>
Sun, 16 Feb 2020 12:03:42 +0000 (12:03 +0000)
commit77d27c67c1dadce4abe7a6a97c0b73eaa3706e60
tree9dd19eb756f74a875a35afb5b68296b8934c631d
parenta15c8739b9a6da223e1f3a6ff6aa868913c0dbf4
parente14e7ffa34bf9a458681fe7490ac2d51b02ff908
Merge #3165

3165: Fix coercion of &T to itself r=matklad a=flodiebold

The autoderef coercion logic did not handle matching placeholders. This led to
some type mismatches.

Co-authored-by: Florian Diebold <flodiebold@gmail.com>