yewdux icon indicating copy to clipboard operation
yewdux copied to clipboard

anymap v1.0.0-beta.2 Future incompatability warnings

Open gausstop opened this issue 5 months ago • 1 comments

The package anymap v1.0.0-beta.2 currently triggers the following future incompatibility lints:

warning: adding an auto trait Send to a trait object in a pointer cast may cause UB later on --> /home/sh/.cargo/registry/src/rsproxy.cn-0dccff568467c15b/anymap-1.0.0-beta.2/src/any.rs:37:40 | 37 | unsafe { Box::from_raw(raw as *mut $t) } | ^^^^^^^^^^^^^^ ... 144 | impl_clone!(dyn CloneAny + Send); | -------------------------------- in this macro invocation | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #127323 https://github.com/rust-lang/rust/issues/127323 = note: this warning originates in the macro impl_clone (in Nightly builds, run with -Z macro-backtrace for more info)

warning: adding auto traits Send and Sync to a trait object in a pointer cast may cause UB later on --> /home/sh/.cargo/registry/src/rsproxy.cn-0dccff568467c15b/anymap-1.0.0-beta.2/src/any.rs:37:40 | 37 | unsafe { Box::from_raw(raw as *mut $t) } | ^^^^^^^^^^^^^^ ... 145 | impl_clone!(dyn CloneAny + Send + Sync); | --------------------------------------- in this macro invocation | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #127323 https://github.com/rust-lang/rust/issues/127323 = note: this warning originates in the macro impl_clone (in Nightly builds, run with -Z macro-backtrace for more info)

gausstop avatar Sep 22 '24 12:09 gausstop