rust/tests/rustdoc-ui/invalid_infered_static_and_const.rs

3 lines
95 B
Rust
Raw Normal View History

const FOO: dyn Fn() -> _ = ""; //~ ERROR E0121
static BOO: dyn Fn() -> _ = ""; //~ ERROR E0121