diff options
| author | Jacob Pratt <jacob@jhpratt.dev> | 2022-02-13 05:54:00 -0500 |
|---|---|---|
| committer | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2022-05-19 12:21:45 +0000 |
| commit | f0620c95038c1e586f5165d5d3be7cf009aaf387 (patch) | |
| tree | 0df4aedeb4c4593fca47616f7d209abea39224bf /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | a9dd4cfa6b5398b945d3ad39e01bedb5d861ed60 (diff) | |
| download | rust-f0620c95038c1e586f5165d5d3be7cf009aaf387.tar.gz rust-f0620c95038c1e586f5165d5d3be7cf009aaf387.zip | |
Proper const stability check, default to unstable
Rather than deferring to const eval for checking if a trait is const, we now check up-front. This allows the error to be emitted earlier, notably at the same time as other stability checks. Also included in this commit is a change of the default const stability level to UNstable. Previously, an item that was `const` but did not explicitly state it was unstable was implicitly stable.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
