]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/borrowck/borrowck-borrow-from-expr-block.rs
Convert unknown_features lint into an error
[rust.git] / src / test / run-pass / borrowck / borrowck-borrow-from-expr-block.rs
index 7fdc65a96e238d3894ba661577ffe4fc18272f38..1d7230510df2baf65290a1e95189aff3e9b016f2 100644 (file)
@@ -8,8 +8,6 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-
-#![allow(unknown_features)]
 #![feature(box_syntax)]
 
 fn borrow<F>(x: &isize, f: F) where F: FnOnce(&isize) {