about summary refs log tree commit diff
path: root/src/librustc_mir/util/borrowck_errors.rs
AgeCommit message (Expand)AuthorLines
2020-08-30mv compiler to compiler/mark-486/+0
2020-04-08Suggest move for closures and async blocks in more cases.Alex Aktsipetrov-1/+3
2020-03-30rustc -> rustc_middle part 3 (rustfmt)Mazdak Farrokhzad-1/+1
2020-03-30rustc -> rustc_middle part 2Mazdak Farrokhzad-1/+1
2020-03-26borrowck diagnostics: address review comments.Mazdak Farrokhzad-4/+3
2020-03-25borrowck: prefer "value" over "`_`".Mazdak Farrokhzad-17/+17
2020-01-18remove rustc_error_codes deps except in rustc_driverMazdak Farrokhzad-1/+0
2020-01-08- remove syntax::{span_warn!, span_err!, span_fatal!. struct_err!}Mazdak Farrokhzad-3/+2
2020-01-01Rename `syntax_pos` to `rustc_span` in source codeVadim Petrochenkov-1/+1
2019-12-22Format the worldMark Rousskov-95/+25
2019-11-14Update to use new librustc_error_codes libraryGuillaume Gomez-0/+2
2019-11-11Fix soundness issue with index bounds checksMatthew Jasper-6/+8
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