]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/nll/closures-in-loops.rs
Remove feature(nll) when compare mode is sufficient
[rust.git] / src / test / ui / nll / closures-in-loops.rs
index d2afa564734c8b6bdf5c847311c6de366b8abd8d..491c186ecb5a018b54fffd2704f93ead8c5109b9 100644 (file)
@@ -1,8 +1,6 @@
 // Test messages where a closure capture conflicts with itself because it's in
 // a loop.
 
-#![feature(nll)]
-
 fn repreated_move(x: String) {
     for i in 0..10 {
         || x; //~ ERROR