| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-04-23 | Update ui tests | varkor | -9/+9 | |
| 2019-04-23 | Remove unnecessary ignore-tidy-linelength | varkor | -4/+0 | |
| 2019-04-22 | Remove double trailing newlines | varkor | -2/+0 | |
| 2019-04-22 | update tests for migrate mode by default | Matthew Jasper | -1725/+533 | |
| 2019-04-18 | hide `--explain` hint if error has no extended info | Andy Russell | -13/+10 | |
| 2019-04-11 | Reword tracking issue note | Esteban Küber | -4/+4 | |
| 2019-04-10 | Tweak unstable diagnostic output | Esteban Küber | -4/+8 | |
| 2019-04-05 | Fix expectations on some ui tests involving FnOnce. | Masaki Hara | -4/+4 | |
| 2019-03-29 | Rollup merge of #59473 - estebank:borrow-sugg-inside-macro, r=davidtwco | Mazdak Farrokhzad | -4/+1 | |
| Do not emit incorrect borrow suggestion involving macros and fix overlapping multiline spans Fix #58298. | ||||
| 2019-03-29 | Rollup merge of #59467 - hgallagher1993:local_branch, r=estebank | Mazdak Farrokhzad | -6/+15 | |
| Better diagnostic for binary operation on BoxedValues Fixes #59458 | ||||
| 2019-03-28 | Add check for when left and right overlap and change span for explanation to ↵ | hgallagher1993 | -4/+3 | |
| point at operator | ||||
| 2019-03-27 | Do not suggest borrowing when the span comes from a macro | Esteban Küber | -4/+1 | |
| 2019-03-27 | Better diagnostic for binary operation on BoxedValues | hgallagher1993 | -6/+16 | |
| 2019-03-25 | When moving out of a for loop head, suggest borrowing it in nll mode | Esteban Küber | -1/+0 | |
| 2019-03-11 | Update NLL tests | Vadim Petrochenkov | -37/+37 | |
| 2019-03-11 | Update tests | Vadim Petrochenkov | -113/+113 | |
| 2019-02-20 | Fix erroneous loop diagnostic in nll | Santiago Pastorino | -5/+5 | |
| This commit fixes the logic of detecting when a use happen in a later iteration of where a borrow was defined Fixes #53773 | ||||
| 2019-02-11 | Use hidden suggestions for unused imports lint | Esteban Küber | -4/+0 | |
| 2019-02-08 | unused_imports: update tests | Pietro Albini | -0/+4 | |
| 2019-01-28 | Unused variable suggestions on all patterns. | David Wood | -1/+1 | |
| This commit extends existing suggestions to prefix unused variable bindings in match arms with an underscore so that it applies to all patterns in a match arm. | ||||
| 2019-01-19 | Suggest usage of angle brackets | Esteban Küber | -4/+4 | |
| 2019-01-14 | Rollup merge of #57477 - euclio:clarify-lev-suggestion, r=zackmdavis | Mazdak Farrokhzad | -2/+2 | |
| clarify resolve typo suggestion Include the kind of the binding that we're suggesting, and use a structured suggestion. Fixes #53445. | ||||
| 2019-01-09 | clarify resolve typo suggestion | Andy Russell | -2/+2 | |
| Include the kind of the binding that we're suggesting, and use a structured suggestion. | ||||
| 2019-01-08 | improve non_snake_case diagnostics | Andy Russell | -4/+4 | |
| Use a structured suggestion and tighten the span to just the identifier. | ||||
| 2019-01-06 | Make sure feature gate errors are recoverable (take 2) | Vadim Petrochenkov | -3/+3 | |
| 2018-12-30 | Remove unused nll debug flags | Matthew Jasper | -14/+9 | |
| 2018-12-27 | Fix rebase and more CI failures | Vadim Petrochenkov | -7/+8 | |
| 2018-12-27 | Do not abort compilation if expansion produces errors | Vadim Petrochenkov | -11/+24 | |
| Fix a number of uncovered deficiencies in diagnostics | ||||
| 2018-12-25 | Remove licenses | Mark Rousskov | -1220/+317 | |
| 2018-12-20 | Refactor and add comments to code in receiver_is_valid | Michael Hewson | -3/+3 | |
| also updated some error messages removed the code manually checking for `receiver_ty: Deref<Target=self_ty>`, in favour of using autoderef but only doing one iteration. This will cause error messages to be more consistent. Before, a "mismatched method receiver" error would be emitted when `receiver_ty` was valid except for a lifetime parameter, but only when `feature(arbitrary_self_types)` was enabled, and without the feature flag the error would be "uncoercible receiver". Now it emits "mismatched method receiver" in both cases. | ||||
| 2018-12-07 | Various minor/cosmetic improvements to code | Alexander Regueiro | -1/+1 | |
| 2018-11-18 | resolve: Avoid sentence breaks in diagnostics | Vadim Petrochenkov | -1/+1 | |
| 2018-11-18 | resolve: More precise determinacy tracking during import/macro resolution | Vadim Petrochenkov | -6/+6 | |
| 2018-11-07 | Removed `#[rustc_error]` from tests that are all `// compile-pass`. | Felix S. Klock II | -16/+3 | |
| I also added `// skip-codegen` to each one, to address potential concerns that this change would otherwise slow down our test suite spending time generating code for files that are really just meant to be checks of compiler diagnostics. (However, I will say: My preference is to not use `// skip-codegen` if one can avoid it. We can use all the testing of how we drive LLVM that we can get...) (Updated post rebase.) | ||||
| 2018-11-05 | Make `ui/span/borrowck-borrow-overloaded-auto-deref-mut.rs` robust w.r.t. NLL. | Felix S. Klock II | -4/+29 | |
| 2018-10-21 | Auto merge of #55236 - petrochenkov:pfail, r=davidtwco | bors | -53/+0 | |
| Move parse-fail tests to UI cc https://github.com/rust-lang/rust/issues/53353 r? @davidtwco | ||||
| 2018-10-21 | Use new region infer errors for explaining borrows | Matthew Jasper | -6/+3 | |
| This gives at least some explanation for why a borrow is expected to last for a certain free region. Also: * Reports E0373: "closure may outlive the current function" with NLL. * Special cases the case of returning a reference to (or value referencing) a local variable or temporary (E0515). * Special case assigning a reference to a local variable in a closure to a captured variable. | ||||
| 2018-10-21 | Move more parsing tests to ui/parser | Vadim Petrochenkov | -53/+0 | |
| 2018-10-07 | Identify borrows captured by trait objects. | David Wood | -1/+1 | |
| This commit enhances `LaterUseKind` detection to identify when a borrow is captured by a trait object which helps explain why there is a borrow error. | ||||
| 2018-10-05 | Updates to .stderr output in ui tests from earlier changes. | Felix S. Klock II | -36/+58 | |
| 2018-10-03 | Clearer later use messages for calls | Matthew Jasper | -21/+15 | |
| Give a special message when the later use is from a call. Use the span of the callee instead of the whole expression. For conflicting borrow messages say that the later use is of the first borrow. | ||||
| 2018-10-02 | Auto merge of #54767 - pietroalbini:rollup, r=pietroalbini | bors | -1/+1 | |
| Rollup of 10 pull requests Successful merges: - #54269 (#53840: Consolidate pattern check errors) - #54458 (Allow both explicit and elided lifetimes in the same impl header) - #54603 (Add `crate::` to trait suggestions in Rust 2018.) - #54648 (Update Cargo's submodule) - #54680 (make run-pass tests with empty main just compile-pass tests) - #54687 (Use impl_header_lifetime_elision in libcore) - #54699 (Re-export `getopts` so custom drivers can reference it.) - #54702 (do not promote comparing function pointers) - #54728 (Renumber `proc_macro` tracking issues) - #54745 (make `CStr::from_bytes_with_nul_unchecked()` a const fn) Failed merges: r? @ghost | ||||
| 2018-10-01 | Extra proc macro gates are now at #54727 | Alex Crichton | -1/+1 | |
| 2018-09-28 | Test fixes for the change of error message for issue #54015 | Rusty Blitzerr | -5/+5 | |
| 2018-09-25 | Update E0714 to E0716 in tests output | Mikhail Modin | -14/+14 | |
| 2018-09-25 | add "temporary value dropped while borrowed" error | Mikhail Modin | -22/+22 | |
| Issue #54131 | ||||
| 2018-09-23 | Update tests for changes to drop access | Matthew Jasper | -6/+20 | |
| 2018-09-23 | Remove irrelevant message about drop order | Matthew Jasper | -3/+0 | |
| When dropping a self-borrowing struct we shouldn't add a "values in a scope are dropped in the opposite order they are defined" message, since there is only one value being dropped. | ||||
| 2018-09-23 | Auto merge of #54310 - pnkfelix:issue-52059-report-borrow-drop-conflict, ↵ | bors | -10/+11 | |
| r=nikomatsakis Report when borrow could cause `&mut` aliasing during Drop We were already issuing an error for the cases where this cropped up, so this is not fixing any soundness holes. The previous diagnostic just wasn't accurately describing the problem in the user's code. Fix #52059 | ||||
| 2018-09-18 | Update NLL 3-point error message for fake reads in optimized let patterns | Remy Rakic | -21/+21 | |
