tamer: nir::air: Feature-flag SYM_TRUE

The code utilizing this is flagged, and so the build would output warnings
saying that it was not used.  This resolves that (I've been aware of it for
far too long; I'm developing behind the `wip-asg-derived-xmli` flag where I
don't usually see it).

Mike Gerwitz 2023-06-05 16:26:31 -04:00
parent 93cc0d2ce1
commit 1706c55645
1 changed files with 2 additions and 1 deletions

View File

@ -26,7 +26,6 @@ use crate::{
fmt::{DisplayWrapper, TtQuote},
sym::{st::raw::U_TRUE, SymbolId},
use arrayvec::ArrayVec;
use std::{error::Error, fmt::Display};
@ -36,6 +35,7 @@ use std::{error::Error, fmt::Display};
use crate::{
nir::{Nir::*, NirEntity::*},
sym::{st::raw::U_TRUE, SymbolId},
#[derive(Debug, PartialEq, Eq, Default)]
@ -78,6 +78,7 @@ type ObjStack = ArrayVec<Air, 2>;
/// The symbol to use when lexically expanding shorthand notations to
/// compare against values of `1`.
#[cfg(feature = "wip-asg-derived-xmli")]
pub const SYM_TRUE: SymbolId = U_TRUE;
impl ParseState for NirToAir {