rust/tests/crashes/140099.rs
Matthias Krüger 0443a66d39 more ice tests
2025-05-18 17:25:34 +02:00

7 lines
171 B
Rust

//@ known-bug: #140099
struct a;
impl From for a where for<'any> &'any mut (): Clone {}
fn b() -> Result<(), std::convert::Infallible> {
|| -> Result<_, a> { b()? }
}