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 @@ -1,28 +1,47 @@ Drop after lang/rust >= 1.76 update error[E0658]: cannot cast `dyn ai::Action` to `dyn std::any::Any`, trait upcasting coercion is experimental --> rtsim/src/ai/mod.rs:114:16 | 114 | match (other as &dyn Any).downcast_ref::() { | ^^^^^ | error[E0658]: cannot cast `dyn ai::Action` to `dyn std::any::Any`, trait upcasting coercion is experimental --> rtsim/src/ai/mod.rs:339:16 | 339 | match (other as &dyn Any).downcast_ref::() { | ^^^^^ | = note: see issue #65991 for more information = help: add `#![feature(trait_upcasting)]` to the crate attributes to enable = note: required when coercing `&(dyn ai::Action + '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 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 @@ never_type, try_blocks, trait_alias, + trait_upcasting, 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 + )]