diff --git a/src/parser.rs b/src/parser.rs index 182adc61..ac621c25 100644 --- a/src/parser.rs +++ b/src/parser.rs @@ -1722,7 +1722,7 @@ impl Engine { lib: &mut FnLib, settings: ParseSettings, mut lhs: Expr, - options: ChainingFlags, + _options: ChainingFlags, ) -> ParseResult { let mut settings = settings; @@ -1783,7 +1783,7 @@ impl Engine { // Disallowed module separator #[cfg(not(feature = "no_module"))] (_, token @ Token::DoubleColon) - if options.contains(ChainingFlags::DISALLOW_NAMESPACES) => + if _options.contains(ChainingFlags::DISALLOW_NAMESPACES) => { return Err(LexError::ImproperSymbol( token.literal_syntax().into(), diff --git a/src/types/scope.rs b/src/types/scope.rs index 927225b0..7d370c1e 100644 --- a/src/types/scope.rs +++ b/src/types/scope.rs @@ -392,6 +392,7 @@ impl Scope<'_> { } /// Remove the last entry from the [`Scope`] and return it. #[inline(always)] + #[allow(dead_code)] pub(crate) fn pop_entry(&mut self) -> Option<(Identifier, Dynamic, Vec)> { self.values.pop().map(|value| { (