Make the const_err
lint deny
-by-default
This commit is contained in:
parent
41707d8df9
commit
1788af357a
28 changed files with 95 additions and 58 deletions
|
@ -9,6 +9,7 @@
|
|||
// except according to those terms.
|
||||
|
||||
// compile-pass
|
||||
#![warn(const_err)]
|
||||
|
||||
const X: u32 = 5;
|
||||
const Y: u32 = 6;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue