mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-05 19:43:24 +00:00
deny instead of warn
This commit is contained in:
parent
75fc11806d
commit
cbd25ed8f4
@ -9,7 +9,7 @@
|
|||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
#![feature(const_fn)]
|
#![feature(const_fn)]
|
||||||
#![warn(const_err)]
|
#![deny(const_err)]
|
||||||
|
|
||||||
pub struct Data<T> {
|
pub struct Data<T> {
|
||||||
function: fn() -> T,
|
function: fn() -> T,
|
||||||
|
Loading…
Reference in New Issue
Block a user