diff options
author | Matthias Krüger <matthias.krueger@famsik.de> | 2021-10-25 22:59:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-25 22:59:49 +0200 |
commit | 26e9a719f230815b2c535777c466030c696c9d89 (patch) | |
tree | 34a8ed3d3f98baa429bc0fc81d300c80e6812780 /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs | |
parent | d35ecb949e9d516fb319e41b2d33f103764d1a11 (diff) | |
parent | 0199a81304fe7cf07f0d2c718a4243f47c1620ea (diff) | |
download | rust-26e9a719f230815b2c535777c466030c696c9d89.tar.gz |
Rollup merge of #90266 - b-naber:uneval_substs, r=lcnr
Prevent duplicate caller bounds candidates by exposing default substs in Unevaluated
Fixes https://github.com/rust-lang/rust/issues/89334
The changes introduced in https://github.com/rust-lang/rust/pull/87280 allowed for "duplicate" caller bounds candidates to be assembled that only differed in their default substs having been "exposed" or not and resulted in an ambiguity error during trait selection. To fix this we expose the defaults substs during the creation of the ParamEnv.
r? `@lcnr`
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions