blob: baa6338a37ead515d48db74ee1f128f8e5251bba (
plain)
1
2
3
4
5
6
7
8
9
10
|
error: compilation successful
--> $DIR/issue-38381.rs:16:1
|
LL | / fn main() { //~ ERROR compilation successful
LL | | let _x: fn(&i32) -> <&i32 as Deref>::Target = unimplemented!();
LL | | }
| |_^
error: aborting due to previous error
|