about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-11-02 22:06:26 +0100
committerGitHub <noreply@github.com>2022-11-02 22:06:26 +0100
commit214d6b6836413bbfe9132f7aff3d91ae67bc62ba (patch)
treecf6d81f856d3cd4779dffd35eed075402f69238b /src/test/codegen/src-hash-algorithm
parentedf0182213a9e30982eb34f3925ddc4cf5ed3471 (diff)
parent744fa610eb6bd476b875dd2d6f8be5b7b9f1b77c (diff)
downloadrust-214d6b6836413bbfe9132f7aff3d91ae67bc62ba.tar.gz
rust-214d6b6836413bbfe9132f7aff3d91ae67bc62ba.zip
Rollup merge of #99801 - Neo-Zhixing:fix/generic_const_exprs_parent_opaque_predicates, r=oli-obk
fix(generic_const_exprs): Fix predicate inheritance for children of opaque types

Fixes #99705

We currently have a special case to perform predicate inheritance when the const item is in the generics. I think we're also going to need this for opaque return types. When evaluating the predicates applied to the associated item, it'll inherit from its parent, the opaque type, which will never have predicates applied. This PR bypass the opaque typed parent and inherit predicates directly from the function itself.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions