2024-02-16 20:02:50 +00:00
|
|
|
//@ known-bug: #110395
|
2023-08-13 09:02:31 +00:00
|
|
|
// FIXME check-pass
|
2023-02-01 05:55:48 +00:00
|
|
|
|
|
|
|
#![feature(const_trait_impl, const_closures)]
|
|
|
|
#![allow(incomplete_features)]
|
|
|
|
|
|
|
|
const fn test() -> impl ~const Fn() {
|
|
|
|
const move || {}
|
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {}
|