]> git.lizzy.rs Git - rust.git/commitdiff
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)
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>

Trivial merge