summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-38381.rs
blob: 82d4a4e325ac05af008c881707369fd9d3052ae0 (plain)
1
2
3
4
5
6
7
// check-pass

use std::ops::Deref;

fn main() {
    let _x: fn(&i32) -> <&i32 as Deref>::Target = unimplemented!();
}