summaryrefslogtreecommitdiffstats
path: root/tests/ui/const-generics/const-param-type-depends-on-type-param-ungated.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/const-generics/const-param-type-depends-on-type-param-ungated.stderr')
-rw-r--r--tests/ui/const-generics/const-param-type-depends-on-type-param-ungated.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/const-generics/const-param-type-depends-on-type-param-ungated.stderr b/tests/ui/const-generics/const-param-type-depends-on-type-param-ungated.stderr
index 8e14defd6..9c5c97bef 100644
--- a/tests/ui/const-generics/const-param-type-depends-on-type-param-ungated.stderr
+++ b/tests/ui/const-generics/const-param-type-depends-on-type-param-ungated.stderr
@@ -1,5 +1,5 @@
error[E0770]: the type of const parameters must not depend on other generic parameters
- --> $DIR/const-param-type-depends-on-type-param-ungated.rs:6:22
+ --> $DIR/const-param-type-depends-on-type-param-ungated.rs:3:22
|
LL | struct B<T, const N: T>(PhantomData<[T; N]>);
| ^ the type must not depend on the parameter `T`