6929013b85
The bug was revealed by the behavior of the old-lub-glb-hr-noteq1.rs test. The old-lub-glb-hr-noteq2 test shows the current 'order dependent' behavior of coercions around higher-ranked functions, at least when running with `-Zborrowck=mir`. Also, run compare-mode=nll.
9 lines
146 B
Plaintext
9 lines
146 B
Plaintext
error: higher-ranked subtype error
|
|
--> $DIR/issue-40000.rs:6:9
|
|
|
|
|
LL | foo(bar);
|
|
| ^^^
|
|
|
|
error: aborting due to previous error
|
|
|