diff --git a/tests/ui/const-generics/const_patam_ty_impl_bad_field.rs b/tests/ui/const-generics/adt_const_params/const_param_ty_impl_bad_field.rs similarity index 100% rename from tests/ui/const-generics/const_patam_ty_impl_bad_field.rs rename to tests/ui/const-generics/adt_const_params/const_param_ty_impl_bad_field.rs diff --git a/tests/ui/const-generics/const_patam_ty_impl_bad_field.stderr b/tests/ui/const-generics/adt_const_params/const_param_ty_impl_bad_field.stderr similarity index 89% rename from tests/ui/const-generics/const_patam_ty_impl_bad_field.stderr rename to tests/ui/const-generics/adt_const_params/const_param_ty_impl_bad_field.stderr index 273845b1668..5cd5cae6d79 100644 --- a/tests/ui/const-generics/const_patam_ty_impl_bad_field.stderr +++ b/tests/ui/const-generics/adt_const_params/const_param_ty_impl_bad_field.stderr @@ -1,5 +1,5 @@ error[E0204]: the trait `ConstParamTy` may not be implemented for this type - --> $DIR/const_patam_ty_impl_bad_field.rs:10:36 + --> $DIR/const_param_ty_impl_bad_field.rs:10:36 | LL | struct CantParam(NotParam); | -------- this field does not implement `ConstParamTy`