diff options
| author | Deadbeef <ent3rm4n@gmail.com> | 2021-08-16 11:29:05 +0000 |
|---|---|---|
| committer | Deadbeef <ent3rm4n@gmail.com> | 2021-08-16 12:04:01 +0000 |
| commit | ee85704c0434e8453ee7d1113012331387cb6ee0 (patch) | |
| tree | 29322ce939ec9d3a707801f33450e115ab2e4695 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | 58d685ecb3d4711cf3d21af502ccf51e63ae289c (diff) | |
| download | rust-ee85704c0434e8453ee7d1113012331387cb6ee0.tar.gz rust-ee85704c0434e8453ee7d1113012331387cb6ee0.zip | |
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.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
