From 09f71f12201fc275812ef3dd93fc8e568e65a004 Mon Sep 17 00:00:00 2001 From: Nuno Teixeira Date: Wed, 28 Aug 2024 13:28:39 +0100 Subject: editors/lapce: Fix build with rust 1.80.0 PR: 280490 --- editors/lapce/files/patch-rust-1.80.0 | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 editors/lapce/files/patch-rust-1.80.0 diff --git a/editors/lapce/files/patch-rust-1.80.0 b/editors/lapce/files/patch-rust-1.80.0 new file mode 100644 index 000000000000..5de2a604ab26 --- /dev/null +++ b/editors/lapce/files/patch-rust-1.80.0 @@ -0,0 +1,25 @@ +From 5b0c627366babea1636b35db641c0fec964ddbd1 Mon Sep 17 00:00:00 2001 +From: David Tolnay +Date: Fri, 15 Mar 2024 20:47:22 -0700 +Subject: [PATCH] Delete identity conversion in format_description::parse_owned + (#671) + +--- + time/src/format_description/parse/mod.rs | 4 +--- + 1 file changed, 1 insertion(+), 3 deletions(-) + +diff --git a/time/src/format_description/parse/mod.rs b/time/src/format_description/parse/mod.rs +index 1fcc577c9..22ca52591 100644 +--- cargo-crates/time-0.3.34/src/format_description/parse/mod.rs.orig 2024-08-28 12:04:06 UTC ++++ cargo-crates/time-0.3.34/src/format_description/parse/mod.rs +@@ -80,9 +80,7 @@ pub fn parse_owned( + let mut lexed = lexer::lex::(s.as_bytes()); + let ast = ast::parse::<_, VERSION>(&mut lexed); + let format_items = format_item::parse(ast); +- let items = format_items +- .map(|res| res.map(Into::into)) +- .collect::, _>>()?; ++ let items = format_items.collect::, _>>()?; + Ok(items.into()) + } + -- cgit v1.2.3