rust/tests/rustdoc-ui/invalid_infered_static_and_...

3 lines
95 B
Rust

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