mirror of
https://github.com/rust-lang/rust.git
synced 2025-09-27 12:48:20 +00:00
7 lines
171 B
Rust
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()? }
|
|
}
|