1
Fork 0

Make the const_err lint deny-by-default

This commit is contained in:
Oliver Schneider 2018-05-11 14:33:37 +02:00
parent 41707d8df9
commit 1788af357a
No known key found for this signature in database
GPG key ID: 1D5CB4FC597C3004
28 changed files with 95 additions and 58 deletions

View file

@ -9,6 +9,7 @@
// except according to those terms.
// compile-pass
#![warn(const_err)]
const X: u32 = 5;
const Y: u32 = 6;