diff options
Diffstat (limited to 'tests/ui/const-generics/issues/issue-90364.stderr')
-rw-r--r-- | tests/ui/const-generics/issues/issue-90364.stderr | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/ui/const-generics/issues/issue-90364.stderr b/tests/ui/const-generics/issues/issue-90364.stderr index e85bd136e..23424d7b9 100644 --- a/tests/ui/const-generics/issues/issue-90364.stderr +++ b/tests/ui/const-generics/issues/issue-90364.stderr @@ -3,6 +3,8 @@ error[E0770]: the type of const parameters must not depend on other generic para | LL | pub struct Foo<T, const H: T>(T) | ^ the type must not depend on the parameter `T` + | + = note: type parameters may not be used in the type of const parameters error: aborting due to previous error |