about summary refs log tree commit diff
path: root/src/librustc_mir/util/borrowck_errors.rs
AgeCommit message (Expand)AuthorLines
2019-04-28Fix lint findings in librustc_mirflip1995-3/+3
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
2017-11-02Make the difference between lint codes and error codes explicitOliver Schneider-3/+3
2017-10-31reorder 'gcx and 'tcx in `BorrowckErrors` implNiko Matsakis-1/+1
2017-10-31make end-point optional in the borrow checkNiko Matsakis-13/+25
2017-10-25Reword to avoid using either re-assignment or reassignment in errorsCarol (Nichols || Goulding)-1/+1
2017-10-10Add `Origin::Ast` arguments to all of the migrated AST-borrowck diagnostics.Felix S. Klock II-25/+40
2017-10-10Fixed client code for diagnostics migration, adding new methods to `trait Bor...Felix S. Klock II-0/+118
2017-10-08Auto merge of #45016 - pnkfelix:mir-borrowck-gather-and-signal-move-errors, r...bors-0/+46
2017-10-04Move E0509 diagnostic into mod borrowck_errors shared between ast- and mir-bo...Felix S. Klock II-0/+14
2017-10-04Move E0508 diagnostic into mod borrowck_errors shared between ast- and mir-bo...Felix S. Klock II-0/+20
2017-10-04Move E0507 diagnostic into mod borrowck_errors shared between ast- and mir-bo...Felix S. Klock II-0/+12
2017-10-04add notes to report_conflicting_borrow MIR borrowckMikhail Modin-16/+73
2017-09-29mir-borrowck: Factorize error message for `cannot_assign_static()` between AS...Basile Desloges-2/+8
2017-09-29mir-borrowck: Move span_label calls for `cannot_use_when_mutably_borrowed()` ...Basile Desloges-3/+13
2017-09-29mir-borrowck: Move span_label calls for `cannot_assign_to_borrowed()` inside ...Basile Desloges-3/+8