Prefer #![feature(bind_by_move_pattern_guards)] over -Z disable_ast_check_for_mutation_in_guard

This commit is contained in:
Felix S. Klock II 2018-09-28 15:38:42 +02:00
parent d623ec6ba3
commit f9ff7b7336
5 changed files with 5 additions and 13 deletions

View file

@ -15,8 +15,8 @@
// reject it. But I want to make sure that we continue to reject it
// (under NLL) even when that conservaive check goes away.
// compile-flags: -Z disable-ast-check-for-mutation-in-guard
#![feature(bind_by_move_pattern_guards)]
#![feature(nll)]
fn main() {