From 42be6ee0f4cf41328c1b47c1d9d04af668996b49 Mon Sep 17 00:00:00 2001 From: Nextest Bot Date: Mon, 13 Jan 2025 04:39:26 +0000 Subject: [PATCH 1/2] chore(deps): update rust crate winnow to 0.6.24 --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c8fd00daa6c..c4104580421 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4147,9 +4147,9 @@ checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" [[package]] name = "winnow" -version = "0.6.22" +version = "0.6.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39281189af81c07ec09db316b302a3e67bf9bd7cbf6c820b50e35fee9c2fa980" +checksum = "c8d71a593cc5c42ad7876e2c1fda56f314f3754c084128833e64f1345ff8a03a" dependencies = [ "memchr", ] diff --git a/Cargo.toml b/Cargo.toml index 16a7af71e37..aaf38a600cc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -133,7 +133,7 @@ unicode-normalization = "0.1.24" whoami = "1.5.2" win32job = "2.0.0" windows-sys = "0.59.0" -winnow = "0.6.22" +winnow = "0.6.24" xxhash-rust = "0.8.13" zstd = { version = "0.13.2", features = ["zstdmt"] } From 532365c261573c9431c1aa72b3c180cc596f2bd8 Mon Sep 17 00:00:00 2001 From: Rain Date: Tue, 14 Jan 2025 19:24:25 +0000 Subject: [PATCH 2/2] fix deprecation warning --- nextest-filtering/src/parsing.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nextest-filtering/src/parsing.rs b/nextest-filtering/src/parsing.rs index d2fdad88e63..0d9e1506264 100644 --- a/nextest-filtering/src/parsing.rs +++ b/nextest-filtering/src/parsing.rs @@ -21,7 +21,7 @@ use winnow::{ combinator::{alt, delimited, eof, peek, preceded, repeat, terminated, trace}, stream::{Location, SliceLen, Stream}, token::{literal, take_till}, - Parser, + LocatingSlice, Parser, }; mod glob; @@ -30,13 +30,13 @@ use crate::{errors::*, NameMatcher}; pub(crate) use glob::GenericGlob; pub(crate) use unicode_string::DisplayParsedString; -pub(crate) type Span<'a> = winnow::Stateful, State<'a>>; +pub(crate) type Span<'a> = winnow::Stateful, State<'a>>; type Error = (); type PResult = winnow::PResult; pub(crate) fn new_span<'a>(input: &'a str, errors: &'a mut Vec) -> Span<'a> { Span { - input: winnow::Located::new(input), + input: LocatingSlice::new(input), state: State::new(errors), } }