Silence a warning

This commit is contained in:
Nadrieril
2025-07-19 22:14:12 +02:00
parent 9b01de20e1
commit af07c08c60
@@ -1,4 +1,4 @@
#![allow(dead_code)]
#![allow(dead_code, unreachable_pub)]
use rustc_pattern_analysis::constructor::{
Constructor, ConstructorSet, IntRange, MaybeInfiniteInt, RangeEnd, VariantVisibility,
};
@@ -23,8 +23,8 @@ fn init_tracing() {
.try_init();
}
pub const UNIT: Ty = Ty::Tuple(&[]);
pub const NEVER: Ty = Ty::Enum(&[]);
pub(super) const UNIT: Ty = Ty::Tuple(&[]);
pub(super) const NEVER: Ty = Ty::Enum(&[]);
/// A simple set of types.
#[derive(Debug, Copy, Clone, PartialEq, Eq)]