Fix nll test
This commit is contained in:
parent
09f0ee51c9
commit
614abe48b0
1 changed files with 8 additions and 0 deletions
8
src/test/ui/unboxed-closures/issue-30906.nll.stderr
Normal file
8
src/test/ui/unboxed-closures/issue-30906.nll.stderr
Normal 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
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue