]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #51235 - nikomatsakis:issue-51117-borrowck-implicit-deref, r=eddyb
authorbors <bors@rust-lang.org>
Thu, 31 May 2018 15:24:04 +0000 (15:24 +0000)
committerbors <bors@rust-lang.org>
Thu, 31 May 2018 15:24:04 +0000 (15:24 +0000)
remove notion of Implicit derefs from mem-cat

`PointerKind` is included in `LoanPath` and hence forms part of the equality check; this led to having two unequal paths that both represent `*x`, depending on whether the `*` was inserted automatically or explicitly. Bad mojo.

Fixes #51117

r? @eddyb


Trivial merge