summaryrefslogtreecommitdiffstats
path: root/src/test/ui/consts/const-eval/union_promotion.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/consts/const-eval/union_promotion.rs')
-rw-r--r--src/test/ui/consts/const-eval/union_promotion.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/test/ui/consts/const-eval/union_promotion.rs b/src/test/ui/consts/const-eval/union_promotion.rs
index 7167f88a1..18894c45f 100644
--- a/src/test/ui/consts/const-eval/union_promotion.rs
+++ b/src/test/ui/consts/const-eval/union_promotion.rs
@@ -1,5 +1,3 @@
-#![allow(const_err)]
-
#[repr(C)]
union Foo {
a: &'static u32,