about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs
diff options
context:
space:
mode:
authorMara Bos <m-ou.se@m-ou.se>2021-08-16 23:37:34 +0200
committerGitHub <noreply@github.com>2021-08-16 23:37:34 +0200
commit4de53c427bffc24590056932770ebfc21427aa16 (patch)
treea5197ca1e86a2b302ca12914eea0a15eb511f52e /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs
parent18a7b6d32a07f26010ee25f0ae50b04cf2cac27d (diff)
parent85abdf07578f14b9c07b3aed9f6b23b1bbf23f8f (diff)
downloadrust-4de53c427bffc24590056932770ebfc21427aa16.tar.gz
rust-4de53c427bffc24590056932770ebfc21427aa16.zip
Rollup merge of #88080 - fee1-dead:iterator-const, r=oli-obk
Skip assert ICE with default_method_body_is_const

functions marked with #[default_method_body_is_const] would
ICE when being const checked due to it not being a const function:
`tcx.is_const_fn_raw(did)` returns false. We should skip this assert
when it is marked with that attribute.

r? `@oli-obk`
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs')
0 files changed, 0 insertions, 0 deletions