diff options
| author | Martin Nordholts <enselic@gmail.com> | 2023-09-21 18:25:13 +0200 |
|---|---|---|
| committer | Martin Nordholts <enselic@gmail.com> | 2023-09-21 18:38:24 +0200 |
| commit | afdd468ab8f4b028ef2eb024b9f724e2feeac72f (patch) | |
| tree | 95448d39194ff7cb2994a60ff0722dd7bf8711c6 | |
| parent | 0fd7ce99b0508aff7f7a2c639871de4e8080e3f8 (diff) | |
| download | rust-afdd468ab8f4b028ef2eb024b9f724e2feeac72f.tar.gz rust-afdd468ab8f4b028ef2eb024b9f724e2feeac72f.zip | |
tests/ui: Fix large_moves attribute cfg
We only want the attribute for the attribute revision.
| -rw-r--r-- | tests/ui/async-await/large_moves.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
