summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-ui/invalid_infered_static_and_const.rs
blob: 3f8e68dc02002ca2ace7c32f7fba606208fe9bb1 (plain)
1
2
const FOO: dyn Fn() -> _ = ""; //~ ERROR E0121
static BOO: dyn Fn() -> _ = ""; //~ ERROR E0121