rust/tests/ui/rfcs/rfc-2632-const-trait-impl/const-closure-parse-not-item.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
196 B
Rust
Raw Normal View History

2023-08-13 04:02:31 -05:00
// 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() {}