diff --git a/tests/ui/async-await/large_moves.rs b/tests/ui/async-await/large_moves.rs index 62b12104694..485ca92fb89 100644 --- a/tests/ui/async-await/large_moves.rs +++ b/tests/ui/async-await/large_moves.rs @@ -1,5 +1,5 @@ #![deny(large_assignments)] -#![feature(large_assignments)] +#![cfg_attr(attribute, feature(large_assignments))] #![cfg_attr(attribute, move_size_limit = "1000")] // build-fail // only-x86_64