rust/tests/crashes/119717.rs
2024-04-14 11:21:51 +02:00

11 lines
183 B
Rust

//@ known-bug: #119717
#![feature(const_trait_impl, effects)]
use std::ops::{FromResidual, Try};
impl const FromResidual for T {
fn from_residual(t: T) -> _ {
t
}
}