rust/tests/ui/traits/const-traits/const-closure-parse-not-item.rs
Michael Goulet e91267f3f0 Move tests
2024-10-22 00:03:09 +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() {}