tests/ui: Fix large_moves attribute cfg

We only want the attribute for the attribute revision.
This commit is contained in:
Martin Nordholts 2023-09-21 18:25:13 +02:00
parent 0fd7ce99b0
commit afdd468ab8

View File

@ -1,5 +1,5 @@
#![deny(large_assignments)] #![deny(large_assignments)]
#![feature(large_assignments)] #![cfg_attr(attribute, feature(large_assignments))]
#![cfg_attr(attribute, move_size_limit = "1000")] #![cfg_attr(attribute, move_size_limit = "1000")]
// build-fail // build-fail
// only-x86_64 // only-x86_64