summary refs log tree commit diff
path: root/src/test/compile-fail/borrowck
AgeCommit message (Expand)AuthorLines
2018-02-11rustc_mir: insert a dummy access to places being matched on, when building MIR.Eduard-Mihai Burtescu-16/+16
2017-12-23Give MIR borrowck a better understanding of inline asmMatthew Jasper-0/+97
2017-12-15Auto merge of #46537 - pnkfelix:two-phase-borrows, r=arielb1bors-0/+246
2017-12-14Move compile-fail tests with NOTE/HELP annotations to UIVadim Petrochenkov-500/+0
2017-12-13Check activation points as the place where mutable borrows become relevant.Felix S. Klock II-11/+72
2017-12-13two-phase-reservation-sharing-interference.rs variant that is perhaps more su...Felix S. Klock II-0/+38
2017-12-13test describing a currently unsupported corner case.Felix S. Klock II-0/+46
2017-12-13tests transcribed from nikos blog post.Felix S. Klock II-0/+101
2017-12-11Updated existing tests with new error messages.David Wood-4/+6
2017-12-06fix borrows across loops, libcore *almost* compilesAriel Ben-Yehuda-8/+2
2017-12-06handle gen/kill sets togetherAriel Ben-Yehuda-1/+5
2017-12-06improve conflict error reportingAriel Ben-Yehuda-2/+2
2017-12-06MIR borrowck: implement union-and-array-compatible semanticsAriel Ben-Yehuda-7/+10
2017-12-03add and unignore testsAriel Ben-Yehuda-0/+23
2017-11-28mir-borrowck: Update testsBasile Desloges-11/+23
2017-11-27Add initialization info to `MoveData`Matthew Jasper-0/+7
2017-11-26Update tests for -Zborrowck-mir -> -Zborrowck=mode migrationest31-250/+145
2017-11-24Kill the storage for all locals on returning terminatorsKeith Yeung-0/+44
2017-11-23Fix borrowck compiler errors for upvars contain "spurious" dereferencesRamana Venkata-2/+13
2017-11-19mir-borrowck: Remove parens in the lvalue description of a derefBasile Desloges-7/+7
2017-11-17Do not registor borrows for unsafe lvaluesKeith Yeung-34/+0
2017-11-15Auto merge of #45938 - vramana:fix-ice-45698, r=arielb1bors-0/+24
2017-11-15add `StorageDead` handlingMikhail Modin-0/+30
2017-11-15Auto merge of #45922 - vramana:fix-45702, r=nikomatsakisbors-6/+18
2017-11-15Fix printing of upvar in closuresRamana Venkata-0/+24
2017-11-13mir-borrowck: Test for `check_access_permissions()`Basile Desloges-0/+76
2017-11-12Improve SubSupConflict case with one named, one anonymous lifetime parameter ...Cengiz Can-1/+1
2017-11-11Fix MIR borrowck EndRegion not foundRamana Venkata-6/+18
2017-11-08restore move out dataflow, add report of move out errorsMikhail Modin-3/+3
2017-11-02add TerminatorKind::FalseEdges and use it in matchesMikhail Modin-0/+42
2017-10-26Auto merge of #45519 - michaelwoerister:dedup-errors, r=arielb1bors-2/+0
2017-10-25Reword to avoid using either re-assignment or reassignment in errorsCarol (Nichols || Goulding)-5/+5
2017-10-25Update compile-fail tests for error message deduplication.Michael Woerister-2/+0
2017-10-18run EndRegion when unwinding otherwise-empty scopesAriel Ben-Yehuda-1/+6
2017-10-15Auto merge of #45200 - mikhail-m1:match-with-false-edges, r=nikomatsakisbors-0/+25
2017-10-13Auto merge of #45025 - pnkfelix:mir-borrowck-moves-of-supporting-prefixes-inv...bors-5/+137
2017-10-12Auto merge of #44985 - zilbuz:issue-44974, r=pnkfelixbors-9/+339
2017-10-11Added `revisions: ast mir` template to tests that this PR sync'ed ast+mir bor...Felix S. Klock II-5/+28
2017-10-11Test case illustrating some variants of the issue pointed out by ariel.Felix S. Klock II-0/+60
2017-10-11Test against accesses to uninitialized fields.Felix S. Klock II-0/+49
2017-10-11MIR-borrowck: add false edges to match armsYour Name-0/+25
2017-10-06mir-borrowck: Implement end-user output for field of reference, pointer and a...Basile Desloges-0/+28
2017-10-06mir-borrowck: Implement end-user output for field of index projectionBasile Desloges-0/+23
2017-10-06mir-borrowck: Implement end-user output for field of field projectionBasile Desloges-0/+23
2017-10-06mir-borrowck: Implement end-user output for field of downcast projectionBasile Desloges-0/+20
2017-10-06mir-borrowck: Replace all constant index and sublices output with `[..]` to m...Basile Desloges-4/+39
2017-10-06mir-borrowck: Autoderef values followed by a constant index, and fix reported...Basile Desloges-0/+35
2017-10-06mir-borrowck: Fix existing testsBasile Desloges-9/+9
2017-10-06mir-borrowck: Add tests for `describe_lvalue()`Basile Desloges-0/+166
2017-10-04Unit tests for gathering and reporting move-errors from mir-borrowck.Felix S. Klock II-13/+60