make const_err a hard error
This commit is contained in:
parent
5854680388
commit
fd59d44f58
254 changed files with 1460 additions and 5402 deletions
|
@ -1,7 +1,5 @@
|
|||
// run-pass
|
||||
|
||||
#![deny(const_err)]
|
||||
|
||||
// Forces evaluation of constants, triggering hard error
|
||||
fn force<T>(_: T) {}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue