about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-10-28 01:21:18 +0100
committerGitHub <noreply@github.com>2020-10-28 01:21:18 +0100
commit54ea0f9ccdc16f3d357c296b300606e58c54868d (patch)
treef2b4bb5b5fd27f04dcabbe68465daa90b42522c2 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent86a4a381772a06ecf6c20384a1b32a49ea1574e0 (diff)
parent744dfd8847e447edf7e612196d6eec665ce36c04 (diff)
downloadrust-54ea0f9ccdc16f3d357c296b300606e58c54868d.tar.gz
rust-54ea0f9ccdc16f3d357c296b300606e58c54868d.zip
Rollup merge of #78351 - RalfJung:validity-unsafe-cell, r=oli-obk
Move "mutable thing in const" check from interning to validity

This moves the check for mutable things (such as `UnsafeCell` or `&mut`) in a`const` from interning to validity. That means we can give more targeted error messages (pointing out *where* the problem lies), and we can simplify interning a bit.

Also fix the interning mode used for promoteds in statics.

r? @oli-obk
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions