1
Fork 0

make const_err a hard error

This commit is contained in:
Ralf Jung 2022-09-21 13:05:20 +02:00
parent 5854680388
commit fd59d44f58
254 changed files with 1460 additions and 5402 deletions

View file

@ -1,7 +1,5 @@
// run-pass
#![deny(const_err)]
// Forces evaluation of constants, triggering hard error
fn force<T>(_: T) {}