mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-21 17:52:12 +03:00
a6040bc230
``` error: trait object `dyn Send` cannot be used in patterns --> $DIR/issue-70972-dyn-trait.rs:6:9 | LL | const F: &'static dyn Send = &7u32; | -------------------------- constant defined here ... LL | F => panic!(), | ^ trait object can't be used in patterns ```