diff options
Diffstat (limited to 'tests/ui/feature-gates/feature-gate-large-assignments.rs')
-rw-r--r-- | tests/ui/feature-gates/feature-gate-large-assignments.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/ui/feature-gates/feature-gate-large-assignments.rs b/tests/ui/feature-gates/feature-gate-large-assignments.rs new file mode 100644 index 000000000..7e9e574bf --- /dev/null +++ b/tests/ui/feature-gates/feature-gate-large-assignments.rs @@ -0,0 +1,5 @@ +// check that `move_size_limit is feature-gated + +#![move_size_limit = "42"] //~ ERROR the `#[move_size_limit]` attribute is an experimental feature + +fn main() {} |