about summary refs log tree commit diff
path: root/src/test/ui/closure_context
AgeCommit message (Collapse)AuthorLines
2019-03-11Update testsVadim Petrochenkov-2/+2
2018-12-25Remove licensesMark Rousskov-34/+4
2018-10-18Add by-value captured variable note on second use.David Wood-11/+0
This commit adds a note that was present in the AST borrow checker when closures are invoked more than once and have captured variables by-value.
2018-04-11Checkpoint the current status of NLL on `ui` tests via compare-mode=nll.Felix S. Klock II-0/+11
2018-03-14update testsGuillaume Gomez-3/+3
2018-02-26Update UI testsVadim Petrochenkov-9/+9
2018-02-25Update ui testsGuillaume Gomez-0/+3
2017-12-18Rework expected closure errorEsteban Küber-26/+12
* point at def span * add label to primary span * use `span_label`s instead of `span_note`s
2017-12-14Remove NOTE/HELP annotations from UI testsVadim Petrochenkov-7/+3
2017-11-24Merge cfail and ui tests into ui testsOliver Schneider-9/+11
2017-07-02report the total number of errors on compilation failureAriel Ben-Yehuda-2/+2
Prior to this PR, when we aborted because a "critical pass" failed, we displayed the number of errors from that critical pass. While that's the number of errors that caused compilation to abort in *that place*, that's not what people really want to know. Instead, always report the total number of errors, and don't bother to track the number of errors from the last pass that failed. This changes the compiler driver API to handle errors more smoothly, and therefore is a compiler-api-[breaking-change]. Fixes #42793.
2017-07-02Revert "Change error count messages"Ariel Ben-Yehuda-1/+1
This reverts commit 5558c64f33446225739c1153b43d2e309bb4f50e.
2017-06-07Cover all cases in closure errorsTommy Ip-0/+6
2017-06-06Group closure context ui testsTommy Ip-0/+117