Remove warnings.
This commit is contained in:
parent
e8dfabf967
commit
bb404a415d
@ -1722,7 +1722,7 @@ impl Engine {
|
|||||||
lib: &mut FnLib,
|
lib: &mut FnLib,
|
||||||
settings: ParseSettings,
|
settings: ParseSettings,
|
||||||
mut lhs: Expr,
|
mut lhs: Expr,
|
||||||
options: ChainingFlags,
|
_options: ChainingFlags,
|
||||||
) -> ParseResult<Expr> {
|
) -> ParseResult<Expr> {
|
||||||
let mut settings = settings;
|
let mut settings = settings;
|
||||||
|
|
||||||
@ -1783,7 +1783,7 @@ impl Engine {
|
|||||||
// Disallowed module separator
|
// Disallowed module separator
|
||||||
#[cfg(not(feature = "no_module"))]
|
#[cfg(not(feature = "no_module"))]
|
||||||
(_, token @ Token::DoubleColon)
|
(_, token @ Token::DoubleColon)
|
||||||
if options.contains(ChainingFlags::DISALLOW_NAMESPACES) =>
|
if _options.contains(ChainingFlags::DISALLOW_NAMESPACES) =>
|
||||||
{
|
{
|
||||||
return Err(LexError::ImproperSymbol(
|
return Err(LexError::ImproperSymbol(
|
||||||
token.literal_syntax().into(),
|
token.literal_syntax().into(),
|
||||||
|
@ -392,6 +392,7 @@ impl Scope<'_> {
|
|||||||
}
|
}
|
||||||
/// Remove the last entry from the [`Scope`] and return it.
|
/// Remove the last entry from the [`Scope`] and return it.
|
||||||
#[inline(always)]
|
#[inline(always)]
|
||||||
|
#[allow(dead_code)]
|
||||||
pub(crate) fn pop_entry(&mut self) -> Option<(Identifier, Dynamic, Vec<ImmutableString>)> {
|
pub(crate) fn pop_entry(&mut self) -> Option<(Identifier, Dynamic, Vec<ImmutableString>)> {
|
||||||
self.values.pop().map(|value| {
|
self.values.pop().map(|value| {
|
||||||
(
|
(
|
||||||
|
Loading…
Reference in New Issue
Block a user