about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorWaffle <waffle.lapkin@gmail.com>2021-09-16 20:57:12 +0300
committerWaffle <waffle.lapkin@gmail.com>2021-09-16 21:32:05 +0300
commitf84000d9bc93f7c09243144d1a729448da3d714d (patch)
treee7362af6b7d5ce074b91397434e08484355e282c /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent6ec7255d7b9c96c4cc0feafec6f26a2a9db3b7aa (diff)
downloadrust-f84000d9bc93f7c09243144d1a729448da3d714d.tar.gz
rust-f84000d9bc93f7c09243144d1a729448da3d714d.zip
Add a separate error for `dyn Trait` in `const fn`
Previously "trait bounds other than `Sized` on const fn parameters are unstable"
error was used for both trait bounds (<T: Trait>) and trait objects (dyn Trait).
This was pretty confusing.

This patch adds a separeta error for trait objects: "trait objects in const fn
are unstable". The error for trait bounds is otherwise intact.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions