Lancern's Treasure Chest
08:57 · Jan 23, 2024 · Tue
https://github.com/rust-lang/rust/issues/120222
GitHub
Pointer casts allow switching trait parameters for trait objects, which doesn’t interact soundly with trait upcasting · Issue #120222…
Pointer casts allow switching trait parameters for trait objects, which can change the set of supertraits (and thus the vtable layout), ultimately making upcasting of raw pointers quite unsound Thi...
Home
Powered by
BroadcastChannel
&
Sepia