about summary refs log tree commit diff
path: root/src/librustc_mir/util/borrowck_errors.rs
AgeCommit message (Expand)AuthorLines
2019-09-25Rename `sty` to `kind`varkor-1/+1
2019-09-06Fixed grammar/style in error messages and reblessed tests.Alexander Regueiro-1/+1
2019-07-14`pub(crate)` -> `crate`Matthew Jasper-25/+25
2019-07-14Remove BorrowckErrors traitMatthew Jasper-78/+63
2019-07-14Remove rustc_mir::borrowck_errors::OriginMatthew Jasper-32/+2
2019-07-14Remove unused BorrowckErrors methodsMatthew Jasper-105/+0
2019-07-11Remove rustc_mir dependency from rustc_borrowckMatthew Jasper-220/+108
2019-06-14Unify all uses of 'gcx and 'tcx.Eduard-Mihai Burtescu-1/+1
2019-06-12rustc: replace `TyCtxt<'tcx, 'gcx, 'tcx>` with `TyCtxt<'gcx, 'tcx>`.Eduard-Mihai Burtescu-1/+1
2019-06-12rustc: replace `TyCtxt<'a, 'gcx, 'tcx>` with `TyCtxt<'tcx, 'gcx, 'tcx>`.Eduard-Mihai Burtescu-5/+5
2019-06-03Improve cannot move errorsMatthew Jasper-9/+3
2019-05-13Rollup merge of #60176 - matthewjasper:yield-ref-to-local, r=pnkfelixMazdak Farrokhzad-2/+4
2019-05-02Stub display impl for OriginChristopher Vittal-20/+4
2019-04-28Fix lint findings in librustc_mirflip1995-3/+3
2019-04-22Explain error when yielding a reference to a local variableMatthew Jasper-2/+4
2019-04-21Enable migrate mode by default on the 2015 editionMatthew Jasper-1/+1
2019-02-08librustc_mir => 2018Taiki Endo-3/+3
2019-01-04Improve diagnostic labels and add note.David Wood-11/+32
2018-12-25Remove licensesMark Rousskov-10/+0
2018-11-30Refer to the second borrow as the "second borrow".Daan de Graaf-1/+5
2018-10-31use String::from() instead of format!() macro to construct Strings.Matthias Krüger-1/+1
2018-10-21Use new region infer errors for explaining borrowsMatthew Jasper-0/+25
2018-10-20Give an error number for "borrowed data escapes outside of closure"Matthew Jasper-0/+18
2018-10-19Prefer unwrap_or_else to unwrap_or in case of function calls/allocationsljedrz-1/+1
2018-10-18Extend closure special-casing for generators.David Wood-2/+4
2018-09-25Change the diagnostic number from 714 to 716.Felix S. Klock II-1/+1
2018-09-25add "temporary value dropped while borrowed" errorMikhail Modin-0/+16
2018-09-24Better messages for errors from Shallow borrowsMatthew Jasper-0/+23
2018-09-18Fine tune dianostics for when a borrow conflicts with a destructor that needs...Felix S. Klock II-0/+16
2018-08-23use String::new() instead of String::from(""), "".to_string(), "".to_owned() ...Matthias Krüger-1/+1
2018-08-22Remove Ty prefix from Ty{Adt|Array|Slice|RawPtr|Ref|FnDef|FnPtr|Dynamic|Closu...varkor-2/+2
2018-08-07Special case error message for thread-local statics.David Wood-0/+16
2018-08-03Highlight closure spans for borrow and initialization errorsMatthew Jasper-2/+9
2018-07-20Improve NLL mutability errorsMatthew Jasper-3/+14
2018-06-22Run rustfmtSantiago Pastorino-313/+470
2018-06-22Fix erroneous error note when using field after moveSantiago Pastorino-2/+4
2018-06-06When NLL has illegal move due to borrowed content, provide feedback about why...Felix S. Klock II-2/+6
2018-04-07modify the error message- CR Commentsgaurikholkar-10/+4
2018-04-06reduce nested loops in the codegaurikholkar-2/+2
2018-04-05Update borrowck_errors.rsGauri Kholkar-4/+0
2018-04-05Merge branch 'master' of https://github.com/rust-lang/rust into e0389gaurikholkar-79/+83
2018-03-18remove unneeded where clausecsmoe-36/+4
2018-03-16fix formattingcsmoe-10/+10
2018-03-16change &self to self and fix lifetime annotationscsmoe-73/+105
2018-03-10code refactor, modify compile-fail testsgaurikholkar-4/+11
2018-03-05Turn features() into a query.Michael Woerister-1/+1
2018-01-10Modify message to match labelEsteban Küber-3/+8
2017-12-20feature nll implies borrowck=mirSantiago Pastorino-1/+1
2017-12-20integrate -Znll-dump-cause into borrowckNiko Matsakis-2/+2
2017-11-26Replace -Zborrowck-mir with -Zborrowck=modeest31-49/+105