Remove warnings.
This commit is contained in:
parent
e8dfabf967
commit
bb404a415d
@ -1722,7 +1722,7 @@ impl Engine {
|
||||
lib: &mut FnLib,
|
||||
settings: ParseSettings,
|
||||
mut lhs: Expr,
|
||||
options: ChainingFlags,
|
||||
_options: ChainingFlags,
|
||||
) -> ParseResult<Expr> {
|
||||
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(),
|
||||
|
@ -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<ImmutableString>)> {
|
||||
self.values.pop().map(|value| {
|
||||
(
|
||||
|
Loading…
Reference in New Issue
Block a user