diff options
| author | David Wood <david@davidtw.co> | 2020-08-09 11:22:50 +0100 |
|---|---|---|
| committer | David Wood <david@davidtw.co> | 2020-08-10 13:23:19 +0100 |
| commit | 20f4e168249ca0828b7297942d47040c59376fbe (patch) | |
| tree | 65af6a6519afdd83ec8ace1762ac573b960167cf /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | 3f091baba4fa656adb4c1a57b64aa831002d801d (diff) | |
| download | rust-20f4e168249ca0828b7297942d47040c59376fbe.tar.gz rust-20f4e168249ca0828b7297942d47040c59376fbe.zip | |
polymorphize: constrain unevaluated const handling
This commit constrains the support added for handling unevaluated consts in polymorphization (introduced in #75260) by: - Skipping associated constants as this causes cycle errors. - Skipping promoted constants when they contain `Self` as this ensures `T` is used in constants of the form `<Self as Foo<T>>`. Signed-off-by: David Wood <david@davidtw.co>
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions
