rust/tests/ui/issues/issue-38381.rs
2024-02-16 20:02:50 +00:00

8 lines
120 B
Rust

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