1
Fork 0

update cfgs

This commit is contained in:
Boxy 2024-09-05 17:23:40 +01:00
parent a9998704d3
commit 0091b8ab2a
27 changed files with 28 additions and 109 deletions

View file

@ -87,8 +87,6 @@ where
pub(crate) fn from_tree(tree: Tree<!, R>) -> Result<Self, Uninhabited> {
Ok(match tree {
Tree::Byte(b) => Self::from_byte(b),
#[cfg(bootstrap)]
Tree::Def(..) => unreachable!(),
Tree::Ref(r) => Self::from_ref(r),
Tree::Alt(alts) => {
let mut alts = alts.into_iter().map(Self::from_tree);