git: 6682b191a5f8 - 2024Q1 - games/veloren-weekly: unbreak build after 288ed9fed935

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Thu, 07 Mar 2024 03:25:47 UTC
The branch 2024Q1 has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6682b191a5f8fa23eae73a7204d9e74d9f655562

commit 6682b191a5f8fa23eae73a7204d9e74d9f655562
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2024-03-07 03:22:08 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-03-07 03:23:18 +0000

    games/veloren-weekly: unbreak build after 288ed9fed935
    
    error[E0658]: use of unstable library feature 'result_option_inspect'
       --> server/src/sys/terrain.rs:573:34
        |
    573 | ...                   .inspect_err(|data| {
        |                        ^^^^^^^^^^^
        |
        = note: see issue #91345 <https://github.com/rust-lang/rust/issues/91345> for more information
        = help: add `#![feature(result_option_inspect)]` to the crate attributes to enable
    
    Reported by:    pkg-fallout
    (direct commit to 2024Q1 as 2252f9df9da7 is missing on the branch)
---
 games/veloren-weekly/files/patch-rust-1.75.0 | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/games/veloren-weekly/files/patch-rust-1.75.0 b/games/veloren-weekly/files/patch-rust-1.75.0
index e1c77e436da4..0163ba83bad8 100644
--- a/games/veloren-weekly/files/patch-rust-1.75.0
+++ b/games/veloren-weekly/files/patch-rust-1.75.0
@@ -16,6 +16,15 @@ error[E0658]: cannot cast `dyn ai::Action<S, R>` to `dyn std::any::Any`, trait u
     = help: add `#![feature(trait_upcasting)]` to the crate attributes to enable
     = note: required when coercing `&(dyn ai::Action<S, R> + 'static)` into `&(dyn std::any::Any + 'static)`
 
+error[E0658]: use of unstable library feature 'result_option_inspect'
+   --> server/src/sys/terrain.rs:573:34
+    |
+573 | ...                   .inspect_err(|data| {
+    |                        ^^^^^^^^^^^
+    |
+    = note: see issue #91345 <https://github.com/rust-lang/rust/issues/91345> for more information
+    = help: add `#![feature(result_option_inspect)]` to the crate attributes to enable
+
 --- rtsim/src/lib.rs.orig	2024-02-07 19:13:27 UTC
 +++ rtsim/src/lib.rs
 @@ -2,6 +2,7 @@
@@ -26,3 +35,13 @@ error[E0658]: cannot cast `dyn ai::Action<S, R>` to `dyn std::any::Any`, trait u
      control_flow_enum,
      let_chains,
      binary_heap_drain_sorted,
+--- server/src/lib.rs.orig	2024-03-06 20:35:41 UTC
++++ server/src/lib.rs
+@@ -10,6 +10,7 @@
+     let_chains,
+     never_type,
+     option_zip,
++    result_option_inspect,
+     unwrap_infallible,
+     const_type_name
+ )]