Function rustc_mir::hair::pattern::_match::constructor_covered_by_range [−][src]
fn constructor_covered_by_range<'a, 'tcx>(
tcx: TyCtxt<'a, 'tcx, 'tcx>,
ctor: &Constructor,
from: &ConstVal,
to: &ConstVal,
end: RangeEnd,
ty: Ty<'tcx>
) -> Result<bool, ErrorReported>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?