diff options
| author | bors <bors@rust-lang.org> | 2020-12-05 22:47:37 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-12-05 22:47:37 +0000 |
| commit | bb0d481b5a9e78145f5644ec46015065fa83b4cc (patch) | |
| tree | 5df7b8e07dd0109d4500e3b4e07b096a1cff12c7 /compiler/rustc_mir/src/transform/coverage/debug.rs | |
| parent | e792288df31636ca28108516c63a00ce4267063a (diff) | |
| parent | 19003517cea93d337df071e191ecd57259543cd4 (diff) | |
| download | rust-bb0d481b5a9e78145f5644ec46015065fa83b4cc.tar.gz rust-bb0d481b5a9e78145f5644ec46015065fa83b4cc.zip | |
Auto merge of #79697 - rylev:clearer-const-diagnostic, r=oli-obk
A slightly clearer diagnostic when misusing const Fixes #79598 This produces the following diagnostic: "expected one of `>`, a const expression, lifetime, or type, found keyword `const`" Instead of the previous, more confusing: "expected one of `>`, const, lifetime, or type, found keyword `const`" This might not be completely clear as some users might not understand what a const expression is, but I do believe this is an improvement.
Diffstat (limited to 'compiler/rustc_mir/src/transform/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions
