summaryrefslogtreecommitdiff
path: root/tests/ui/const-generics/issues/issue-90364.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/const-generics/issues/issue-90364.stderr')
-rw-r--r--tests/ui/const-generics/issues/issue-90364.stderr2
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 e85bd136ef6..23424d7b919 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