diff options
Diffstat (limited to 'tests/ui/polymorphization/const_parameters')
| -rw-r--r-- | tests/ui/polymorphization/const_parameters/closures.rs | 4 | ||||
| -rw-r--r-- | tests/ui/polymorphization/const_parameters/functions.rs | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/ui/polymorphization/const_parameters/closures.rs b/tests/ui/polymorphization/const_parameters/closures.rs index 2f41beeb969..8bdb7381454 100644 --- a/tests/ui/polymorphization/const_parameters/closures.rs +++ b/tests/ui/polymorphization/const_parameters/closures.rs @@ -1,5 +1,5 @@ -// build-fail -// compile-flags:-Zpolymorphize=on +//@ build-fail +//@ compile-flags:-Zpolymorphize=on #![feature(generic_const_exprs, rustc_attrs)] //~^ WARN the feature `generic_const_exprs` is incomplete diff --git a/tests/ui/polymorphization/const_parameters/functions.rs b/tests/ui/polymorphization/const_parameters/functions.rs index cbc1b63fbc4..6535e3f081d 100644 --- a/tests/ui/polymorphization/const_parameters/functions.rs +++ b/tests/ui/polymorphization/const_parameters/functions.rs @@ -1,5 +1,5 @@ -// build-fail -// compile-flags:-Zpolymorphize=on +//@ build-fail +//@ compile-flags:-Zpolymorphize=on #![feature(generic_const_exprs, rustc_attrs)] //~^ WARN the feature `generic_const_exprs` is incomplete |
