Fix nll test

This commit is contained in:
Yuki Okushi 2019-11-16 01:40:59 +09:00
parent 09f0ee51c9
commit 614abe48b0

View file

@ -0,0 +1,8 @@
error: higher-ranked subtype error
--> $DIR/issue-30906.rs:15:5
|
LL | test(Compose(f, |_| {}));
| ^^^^^^^^^^^^^^^^^^^^^^^^
error: aborting due to previous error