| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-04-23 | Rollup merge of #60169 - varkor:tidy-unnecessary-ignore-newline, r=kennytm | Mazdak Farrokhzad | -6/+4 | |
| Warn when ignore-tidy-linelength is present, but no lines are too long It's easy for a `// ignore-tidy-linelength` to be added when there is a genuine need to ignore a file's line length, but then after refactoring the need is gone, but the tidy directive is not removed. This means that in the future, further editing may accidentally add unnecessarily long lines. This change forces `// ignore-tidy-linelength` to be used exactly when necessary, to make sure such changes are intentional. | ||||
| 2019-04-23 | Update ui tests | varkor | -4/+4 | |
| 2019-04-23 | Remove unnecessary ignore-tidy-linelength | varkor | -2/+0 | |
| 2019-04-23 | Auto merge of #60125 - estebank:continue-evaluating, r=oli-obk | bors | -4/+33 | |
| Don't stop evaluating due to errors before borrow checking r? @oli-obk Fix #60005. Follow up to #59903. Blocked on #53708, fixing the ICE in `src/test/ui/consts/match_ice.rs`. | ||||
| 2019-04-22 | Never stop due to errors before borrow checking | Esteban Küber | -4/+33 | |
| 2019-04-22 | Remove double trailing newlines | varkor | -3/+0 | |
| 2019-04-22 | update tests for migrate mode by default | Matthew Jasper | -9781/+2149 | |
| 2019-04-18 | hide `--explain` hint if error has no extended info | Andy Russell | -126/+91 | |
| 2019-04-07 | Auto merge of #58739 - matthewjasper:more-restrictive-tpb, r=pnkfelix | bors | -33/+318 | |
| More restrictive 2 phase borrows - take 2 Signal lint diagnostic `mutable_borrow_reservation_conflict` when borrow-check finds a 2-phase borrow's reservation overlapping with a shared borrow. (pnkfelix updated description) cc #56254 , #59159 blocks PR #59114 r? @pnkfelix cc @RalfJung @nikomatsakis | ||||
| 2019-04-05 | Fix expectations on some ui test in nll compare mode. | Charles Lew | -5/+3 | |
| 2019-04-05 | Fix expectations on some ui tests involving FnOnce. | Masaki Hara | -68/+38 | |
| 2019-04-04 | Adjust the mutable_borrow_reservation_conflict message | Matthew Jasper | -8/+8 | |
| We aren't sure if this will become an error or not yet. | ||||
| 2019-04-04 | unit test for the lint itself, illustrating that it can be controlled by ↵ | Felix S. Klock II | -0/+83 | |
| `#[allow(..)]` etc. | ||||
| 2019-04-04 | update unit test output to reflect change to lint-based diagnostic. | Felix S. Klock II | -10/+12 | |
| 2019-04-04 | Update tests for restrictive two-phase borrows | Matthew Jasper | -1/+1 | |
| 2019-04-04 | Treat two-phase borrow reservations as mutable accesses | Matthew Jasper | -33/+233 | |
| 2019-03-17 | Removed obsolete .stderr test outputs | Mathias Blikstad | -136/+0 | |
| 2019-03-17 | Updated UI test output to remove test annotations for revisions | Mathias Blikstad | -393/+393 | |
| 2019-03-12 | Add a test for #10876 | varkor | -0/+19 | |
| 2019-03-11 | Update NLL tests | Vadim Petrochenkov | -360/+360 | |
| 2019-03-11 | Update tests | Vadim Petrochenkov | -413/+413 | |
| 2019-03-10 | Make migrate mode work at item level granularity | Matthew Jasper | -0/+100 | |
| 2019-02-23 | Rollup merge of #58199 - clintfred:partial-move-err-msg, r=estebank | Mazdak Farrokhzad | -2/+2 | |
| Add better error message for partial move closes #56657 r? @davidtwco | ||||
| 2019-02-20 | ./x.py test src/test/ui --stage 1 --bless -i --compare-mode=nll | Clint Frederickson | -1/+1 | |
| 2019-02-20 | Fix erroneous loop diagnostic in nll | Santiago Pastorino | -9/+9 | |
| 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-18 | re-blessing error output: ./x.py test src/test/ui --stage 1 --bless | Clint Frederickson | -18/+18 | |
| 2019-02-06 | error output updated by ./x.py test --stage 1 src/test/ui --incremental --bless | Clint Frederickson | -18/+18 | |
| 2019-02-05 | [WIP] add better error message for partial move | Clint Frederickson | -1/+1 | |
| 2019-01-26 | Replace deprecated ATOMIC_INIT consts | Mark Rousskov | -1/+1 | |
| 2019-01-24 | Fix --compare-mode=nll tests | Esteban Küber | -42/+66 | |
| 2019-01-24 | review comments | Esteban Küber | -4/+1 | |
| 2019-01-24 | Point at type argument suggesting adding `Copy` constraint | Esteban Küber | -0/+2 | |
| 2019-01-24 | When using value after move, point at span of local | Esteban Küber | -27/+35 | |
| When trying to use a value after move, instead of using a note, point at the local declaration that has a type that doesn't implement `Copy` trait. | ||||
| 2019-01-13 | Rollup merge of #57102 - davidtwco:issue-57100, r=nikomatsakis | Mazdak Farrokhzad | -108/+89 | |
| NLL: Add union justifications to conflicting borrows. Fixes #57100. This PR adds justifications to error messages for conflicting borrows of union fields. Where previously an error message would say ``cannot borrow `u.b` as mutable..``, it now says ``cannot borrow `u` (via `u.b`) as mutable..``. r? @pnkfelix | ||||
| 2019-01-04 | Improve diagnostic labels and add note. | David Wood | -9/+15 | |
| This commit improves diagnostic labels to mention which field a borrow overlaps with and adds a note explaining that the fields overlap. | ||||
| 2018-12-29 | add non-copy note to stderr | csmoe | -33/+30 | |
| 2018-12-27 | retrieve ty info from place_ty | csmoe | -2/+2 | |
| describe index with _ | ||||
| 2018-12-26 | Add union justifications to conflicting borrows. | David Wood | -101/+76 | |
| This commit adds justifications to error messages for conflicting borrows of union fields. Where previously an error message would say ``cannot borrow `u.b` as mutable..``, it now says ``cannot borrow `u` (via `u.b`) as mutable..``. | ||||
| 2018-12-25 | Remove licenses | Mark Rousskov | -3165/+1260 | |
| 2018-12-25 | Auto merge of #57088 - euclio:non-camel-case-early-lint, r=estebank | bors | -59/+56 | |
| make non_camel_case_types an early lint This allows us to catch these kinds of style violations much earlier, as evidenced by the large number of tests that had to be updated for this change. | ||||
| 2018-12-25 | Auto merge of #56962 - nivkner:fixme_fixup4, r=pnkfelix | bors | -10/+9 | |
| address some FIXME whose associated issues were marked as closed part of #44366 | ||||
| 2018-12-24 | make non_camel_case_types an early lint | Andy Russell | -59/+56 | |
| 2018-12-23 | bless ui tests in compare mode | Niv Kaminer | -3/+3 | |
| 2018-12-22 | Update migrate warning wording. | David Wood | -15/+10 | |
| This commit modifies the wording of the warning for backwards-incompatible changes in migrate mode. The warning messages are changed to be lowercase and not include line-breaks in order to be consistent with other compiler diagnostics. | ||||
| 2018-12-19 | FIXME(21232) update fixme to point to the open issue about accepting partial ↵ | Niv Kaminer | -1/+1 | |
| initialization | ||||
| 2018-12-19 | FIXME(49824) remove fixme because there is no free region error anymore | Niv Kaminer | -6/+5 | |
| 2018-12-13 | Make determining the discriminant a normal Shallow read | Matthew Jasper | -2/+31 | |
| Enum layout optimizations mean that the discriminant of an enum may not be stored in a tag disjoint from the rest of the fields of the enum. Stop borrow checking as though they are. | ||||
| 2018-12-07 | Various minor/cosmetic improvements to code | Alexander Regueiro | -1/+1 | |
| 2018-12-05 | Rollup merge of #56372 - wildarch:issue-55314-second-borrow-ref, r=davidtwco | Pietro Albini | -1/+1 | |
| Refer to the second borrow as the "second borrow" in E0501.rs Fixes #55314. r? @davidtwco | ||||
| 2018-12-04 | Update tests | Oliver Scherer | -25/+52 | |
