Files
rust/compiler
bors bb0d481b5a 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.
2020-12-05 22:47:37 +00:00
..
2020-09-11 09:37:51 -07:00
2020-12-03 09:50:10 -08:00
2020-12-03 09:50:10 -08:00
2020-12-03 17:08:19 -05:00
2020-11-22 13:45:14 +00:00
2020-12-03 17:08:19 -05:00
2020-09-23 21:51:56 +02:00
2020-11-26 21:32:27 +01:00
2020-11-25 15:08:51 -05:00
2020-12-03 17:08:19 -05:00
2020-12-03 09:50:10 -08:00