summaryrefslogtreecommitdiffstats
path: root/tests/ui/consts/issue-50439.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/consts/issue-50439.rs')
-rw-r--r--tests/ui/consts/issue-50439.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/ui/consts/issue-50439.rs b/tests/ui/consts/issue-50439.rs
index 0be7c4054..d42347e13 100644
--- a/tests/ui/consts/issue-50439.rs
+++ b/tests/ui/consts/issue-50439.rs
@@ -22,7 +22,9 @@ impl<T: Sized> PinDropInternal for Bears<T> {
where
Self: ReflectDrop,
{
- let _ = [(); 0 - !!(<Bears<T> as ReflectDrop>::REFLECT_DROP) as usize]; //~ ERROR constant expression depends on a generic parameter
+ let _ = [(); 0 - !!(<Bears<T> as ReflectDrop>::REFLECT_DROP) as usize];
+ //~^ ERROR constant expression depends on a generic parameter
+ //~| ERROR constant expression depends on a generic parameter
}
}