rust/tests/ui/issues/issue-38381.rs
2023-01-11 09:32:08 +00:00

8 lines
119 B
Rust

// check-pass
use std::ops::Deref;
fn main() {
let _x: fn(&i32) -> <&i32 as Deref>::Target = unimplemented!();
}