]> git.lizzy.rs Git - rust.git/blob - tests/ui/issues/issue-38381.rs
Rollup merge of #106148 - chenyukang:yukang/fix-105061-unused, r=lcnr
[rust.git] / tests / ui / issues / issue-38381.rs
1 // check-pass
2
3 use std::ops::Deref;
4
5 fn main() {
6     let _x: fn(&i32) -> <&i32 as Deref>::Target = unimplemented!();
7 }