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

@ -50,9 +50,11 @@ fn config_add_unsupported_key() {
r#"$env.config.foo = 2"#,
r#";"#]));
assert!(actual
.err
.contains("Unknown config option: $env.config.foo"));
assert!(
actual
.err
.contains("Unknown config option: $env.config.foo")
);
}
#[test]

View File

@ -1,4 +1,4 @@
use nu_protocol::{ast::RangeInclusion, ByteStream, IntRange, Signals, Span, Value};
use nu_protocol::{ByteStream, IntRange, Signals, Span, Value, ast::RangeInclusion};
#[test]
pub fn test_simple_positive_slice_exclusive() {

View File

@ -1,6 +1,6 @@
use nu_protocol::{
engine::{EngineState, Stack},
Config, Span, Value,
engine::{EngineState, Stack},
};
use rstest::rstest;