about summary refs log tree commit diff
path: root/src/test/codegen
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2022-03-17 16:28:21 +0000
committerGitHub <noreply@github.com>2022-03-17 16:28:21 +0000
commitdbc697cb7d87762088ea67c665b12a7a3f441ef8 (patch)
tree0857e2fb325315bfb825056bf36fef98568184d2 /src/test/codegen
parent631b504991dd50a59af30263256ab4ab4897f71f (diff)
parent60aeb8fa1a0432e50d880c8ba76cdea8f9344995 (diff)
downloadrust-dbc697cb7d87762088ea67c665b12a7a3f441ef8.tar.gz
rust-dbc697cb7d87762088ea67c665b12a7a3f441ef8.zip
Merge #11743
11743: fix: Properly unify receivers during method resolution r=flodiebold a=flodiebold

This fixes our type inference problems with `DynMap`; the problem there were the projection types in
```rust
impl<P: Policy> KeyMap<Key<P::K, P::V, P>>
```
which messed up the naive type equality check we did. It also actually simplifies the logic though, IMO. I also added a fix for associated const resolution that I noticed (visibility not being taken into account).

Co-authored-by: Florian Diebold <flodiebold@gmail.com>
Diffstat (limited to 'src/test/codegen')
0 files changed, 0 insertions, 0 deletions