about summary refs log tree commit diff
path: root/src/test/run-pass/binding/fn-arg-incomplete-pattern-drop-order.rs
AgeCommit message (Collapse)AuthorLines
2019-07-27tests: Move run-pass tests without naming conflicts to uiVadim Petrochenkov-69/+0
2019-07-27tests: Add missing run-pass annotationsVadim Petrochenkov-0/+1
2018-11-30Drop function parameters in expected orderMatthew Jasper-0/+68
Given the function fn foo((_x, _): (LogDrop, LogDrop), (_, _y): (LogDrop, LogDrop)) {} Prior to 1.12 we dropped both `_x` and `_y` before the rest of their respective parameters, since then we dropped `_x` and `_y` after. The original order appears to be the correct order, as the value created later is dropped first, so we revert to that order and add a test for it.