rust/tests/ui/rfcs/rfc-2632-const-trait-impl/const-closure-parse-not-item.rs
2024-02-16 20:02:50 +00:00

12 lines
197 B
Rust

//@ known-bug: #110395
// FIXME check-pass
#![feature(const_trait_impl, const_closures)]
#![allow(incomplete_features)]
const fn test() -> impl ~const Fn() {
const move || {}
}
fn main() {}