summaryrefslogtreecommitdiffstats
path: root/src/test/ui/consts/issue-79137-toogeneric.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/consts/issue-79137-toogeneric.stderr')
-rw-r--r--src/test/ui/consts/issue-79137-toogeneric.stderr14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/test/ui/consts/issue-79137-toogeneric.stderr b/src/test/ui/consts/issue-79137-toogeneric.stderr
new file mode 100644
index 000000000..579e6aa09
--- /dev/null
+++ b/src/test/ui/consts/issue-79137-toogeneric.stderr
@@ -0,0 +1,14 @@
+error: constant pattern depends on a generic parameter
+ --> $DIR/issue-79137-toogeneric.rs:12:43
+ |
+LL | matches!(GetVariantCount::<T>::VALUE, GetVariantCount::<T>::VALUE)
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+error: constant pattern depends on a generic parameter
+ --> $DIR/issue-79137-toogeneric.rs:12:43
+ |
+LL | matches!(GetVariantCount::<T>::VALUE, GetVariantCount::<T>::VALUE)
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+error: aborting due to 2 previous errors
+