summary refs log tree commit diff
path: root/src/test/compile-fail/borrowck
AgeCommit message (Expand)AuthorLines
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
2017-09-29mir-borrowck: Factorize error message for `cannot_assign_static()` between AS...Basile Desloges-4/+18
2017-09-29Auto merge of #44811 - zilbuz:issue-44596/E0506, r=arielb1bors-28/+108
2017-09-26Add span label to E0384 for MIR borrowckKeith Yeung-5/+18
2017-09-26mir-borrowck: Edit compile-fail tests with E0506 error to also test on MIR bo...Basile Desloges-28/+108
2017-09-24move unsafety checking to MIRAriel Ben-Yehuda-2/+2
2017-08-16Stabilize rvalue promotion to 'static.Eduard-Mihai Burtescu-1/+3
2017-05-27Stabilize unions with `Copy` fields and no destructorVadim Petrochenkov-8/+0
2017-04-28Disable ref hint for pattern in let and adding ui-tests.gaurikholkar-3/+0
2017-04-25Point at variable moved by closureEsteban Küber-22/+0
2017-04-11fix a bug in compiletest JSON parsing for duplicate errorsNiko Matsakis-2/+0
2017-03-27borrowck: consolidate `mut` suggestionsAriel Ben-Yehuda-5/+1
2017-02-28remove special-case code for statics and just use `borrowck_fn`Niko Matsakis-0/+28
2017-01-31Removes FIXMEs related to #22405Wesley Wiser-1/+0
2017-01-30Merge ty::TyBox into ty::TyAdtVadim Petrochenkov-6/+6
2016-11-29add hint to fix error for immutable ref in argMikhail Modin-381/+0
2016-11-28rustc: rework stability to be on-demand for type-directed lookup.Eduard Burtescu-3/+3
2016-11-01Improve "Doesn't live long enough" errorMikhail Modin-20/+0
2016-10-31Changed most vec! invocations to use square bracesiirelu-20/+20
2016-10-20improve "Doesn't live long enough" errorMikhail Modin-61/+0
2016-10-18Fix some pretty printing testsVadim Petrochenkov-2/+0