Skip to content

Commit

Permalink
games/veloren-weekly: unbreak build after 288ed9f
Browse files Browse the repository at this point in the history
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 <rust-lang/rust#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 2252f9d is missing on the branch)
  • Loading branch information
jbeich committed Mar 7, 2024
1 parent ebfd3f0 commit 6682b19
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions games/veloren-weekly/files/patch-rust-1.75.0
Original file line number Diff line number Diff line change
Expand Up @@ -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 @@
Expand All @@ -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
)]

0 comments on commit 6682b19

Please sign in to comment.