diff --git a/src/test/ui/consts/const_discriminant.rs b/src/test/ui/consts/const_discriminant.rs index 9aac3c4532f..c67be3c3713 100644 --- a/src/test/ui/consts/const_discriminant.rs +++ b/src/test/ui/consts/const_discriminant.rs @@ -1,5 +1,6 @@ // run-pass #![feature(const_discriminant)] +#![allow(dead_code)] use std::mem::{discriminant, Discriminant};