rust/tests/rustdoc-ui/invalid_infered_static_and_const.rs
2023-03-30 14:55:03 +02:00

3 lines
95 B
Rust

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