summaryrefslogtreecommitdiffstats
path: root/tests/ui/consts/issue-79137-toogeneric.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/consts/issue-79137-toogeneric.rs')
-rw-r--r--tests/ui/consts/issue-79137-toogeneric.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/ui/consts/issue-79137-toogeneric.rs b/tests/ui/consts/issue-79137-toogeneric.rs
index 456035458..a80c9f48d 100644
--- a/tests/ui/consts/issue-79137-toogeneric.rs
+++ b/tests/ui/consts/issue-79137-toogeneric.rs
@@ -11,7 +11,6 @@ impl<T> GetVariantCount<T> {
const fn check_variant_count<T>() -> bool {
matches!(GetVariantCount::<T>::VALUE, GetVariantCount::<T>::VALUE)
//~^ ERROR constant pattern depends on a generic parameter
- //~| ERROR constant pattern depends on a generic parameter
}
fn main() {