rust/tests/crashes/125881.rs
2024-06-09 10:16:12 +02:00

9 lines
200 B
Rust

//@ known-bug: rust-lang/rust#125881
#![crate_type = "lib"]
#![feature(transmutability)]
#![feature(unboxed_closures,effects)]
const fn test() -> impl std::mem::BikeshedIntrinsicFrom() {
|| {}
}