deny instead of warn

This commit is contained in:
Agustin Chiappe Berrini 2017-12-08 03:13:13 -05:00
parent 75fc11806d
commit cbd25ed8f4

View File

@ -9,7 +9,7 @@
// except according to those terms.
#![feature(const_fn)]
#![warn(const_err)]
#![deny(const_err)]
pub struct Data<T> {
function: fn() -> T,