summary refs log tree commit diff
path: root/src/test/compile-fail/nll
AgeCommit message (Collapse)AuthorLines
2018-02-07Auto merge of #47607 - davidtwco:issue-45697, r=nikomatsakisbors-2/+1
MIR-borrowck: augmented assignment causes duplicate errors Fixes #45697. This PR resolves the error duplication. I attempted to replace the existing sets since there were quite a few but only managed to replace two of them. r? @nikomatsakis
2018-02-05Swapped order of left/right visits to ensure consistency in read/write pass ↵David Wood-1/+1
ordering when -O is passed.
2018-01-30Do not ignore lifetime bounds in Copy implsSantiago Pastorino-0/+23
Closes #29149
2018-01-27Updated other affected tests.David Wood-1/+0
2018-01-20Add testing coverage for assigning to immutable thread-locals.Ed Schouten-0/+21
It is currently allowed to perform such assignments when not making use of NLL. NLL already does this right, but let's add a test in place to ensure it never regresses.
2017-12-21Issue #46589 - Kill borrows on a local variable whenever we assign over this ↵David Teller-39/+0
variable
2017-12-20connect NLL machinery to the `NiceRegionError` codeNiko Matsakis-2/+2
2017-12-13fix closure tests now that MIR typeck works properlyNiko Matsakis-2/+2
These tests had FIXMEs for errors that were not previously being reported.
2017-12-13Check functions predicatesSantiago Pastorino-0/+28
2017-12-13Check Aggregate predicatesSantiago Pastorino-0/+28
2017-12-13Check Repeat RvalueSantiago Pastorino-0/+39
2017-11-26Update tests for -Zborrowck-mir -> -Zborrowck=mode migrationest31-9/+9
2017-11-22Remove attributes and test comments accidentally left behind, add in ↵Paul Daniel Faria-0/+27
span_mirbugs
2017-10-31WIP patch `compile-fail/nll/region-ends-after-if-condition.rs`Niko Matsakis-2/+16
2017-10-31connect MIR borrowck with NLLNiko Matsakis-0/+180