Rust 1.85, edition=2024 (#15741)

This commit is contained in:
Jack Wright
2025-05-13 07:49:30 -07:00
committed by GitHub
parent 1a0986903f
commit c2ac8f730e
793 changed files with 4276 additions and 3687 deletions

View File

@ -1,6 +1,6 @@
#![allow(clippy::byte_char_slices)]
use nu_parser::{lex, lex_n_tokens, lex_signature, LexState, Token, TokenContents};
use nu_parser::{LexState, Token, TokenContents, lex, lex_n_tokens, lex_signature};
use nu_protocol::{ParseError, Span};
#[test]

View File

@ -1,8 +1,8 @@
use nu_parser::*;
use nu_protocol::{
DeclId, ParseError, Signature, Span, SyntaxShape, Type,
ast::{Argument, Expr, Expression, ExternalArgument, PathMember, Range},
engine::{Command, EngineState, Stack, StateWorkingSet},
DeclId, ParseError, Signature, Span, SyntaxShape, Type,
};
use rstest::rstest;
@ -1998,7 +1998,7 @@ mod mock {
use super::*;
use nu_engine::CallExt;
use nu_protocol::{
engine::Call, Category, IntoPipelineData, PipelineData, ShellError, Type, Value,
Category, IntoPipelineData, PipelineData, ShellError, Type, Value, engine::Call,
};
#[derive(Clone)]