| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-01-21 | Auto merge of #106976 - tmiasko:borrowck-lazy-dominators, r=cjgillot | bors | -6/+10 | |
| Lazy dominator tree construction in borrowck Motivated by the observation that sometimes constructed dominator tree was never queried. | ||||
| 2023-01-17 | Lazy dominator tree construction in borrowck | Tomasz Miąsko | -6/+10 | |
| Motivated by the observation that sometimes constructed dominator tree was never queried. | ||||
| 2023-01-17 | Remove double spaces after dots in comments | Maybe Waffle | -1/+1 | |
| 2023-01-04 | Merge borrowck permission checks | Giacomo Pasini | -37/+11 | |
| Merge `check_access_permission` and `check_if_reassignment_to_immutable_state`. The goal of this commit is twofold: First, we simplify the codebase by removing duplicate logic. Second, we avoid duplicate reporting of illegal reassignment errors by reusing the exiting de-duplicating logic of access_place. | ||||
| 2023-01-01 | Merge multiple mutable borrows of immutable binding errors | Esteban Küber | -0/+24 | |
| Fix #53466. | ||||
| 2022-12-20 | rustc: Remove needless lifetimes | Jeremy Stucki | -4/+1 | |
| 2022-12-19 | clippy::complexity fixes | Matthias Krüger | -6/+1 | |
| filter_next needless_question_mark bind_instead_of_map manual_find derivable_impls map_identity redundant_slicing skip_while_next unnecessary_unwrap needless_bool | ||||
| 2022-12-09 | Remove unneeded field from `SwitchTargets` | Jakob Degen | -1/+1 | |
| 2022-12-06 | `rustc_borrowck`: remove `ref` patterns | Maybe Waffle | -34/+35 | |
| 2022-11-27 | Prefer doc comments over `//`-comments in compiler | Maybe Waffle | -1/+1 | |
| 2022-11-18 | require an `ErrorGuaranteed` to taint infcx with errors | Boxy | -1/+1 | |
| 2022-11-18 | rename `is_tainted_by_errors` | Boxy | -3/+7 | |
| 2022-11-18 | `InferCtxt::is_tainted_by_errors` returns `ErrorGuaranteed` | Boxy | -1/+1 | |
| 2022-11-18 | dont unchecked create `ErrorGuaranteed` in `BorrowckErrors` | Boxy | -10/+12 | |
| 2022-11-08 | Add support for custom MIR parsing | Jakob Degen | -0/+14 | |
| 2022-10-07 | Change InferCtxtBuilder from enter to build | Cameron Steffen | -8/+5 | |
| 2022-10-07 | Remove TypeckResults from InferCtxt | Cameron Steffen | -3/+3 | |
| 2022-09-26 | remove cfg(bootstrap) | Pietro Albini | -1/+0 | |
| 2022-09-24 | separate definitions and `HIR` owners | Takayuki Maeda | -1/+1 | |
| fix a ui test use `into` fix clippy ui test fix a run-make-fulldeps test implement `IntoQueryParam<DefId>` for `OwnerId` use `OwnerId` for more queries change the type of `ParentOwnerIterator::Item` to `(OwnerId, OwnerNode)` | ||||
| 2022-09-20 | Auto merge of #99806 - oli-obk:unconstrained_opaque_type, r=estebank | bors | -0/+2 | |
| Allow patterns to constrain the hidden type of opaque types fixes #96572 reverts a revert as original PR was a perf regression that was fixed by reverting it: https://github.com/rust-lang/rust/pull/99368#issuecomment-1186587864) TODO: * check if https://github.com/rust-lang/rust/issues/99685 is avoided | ||||
| 2022-09-16 | Revert "Revert "Rollup merge of #98582 - oli-obk:unconstrained_opaque_type, ↵ | Oli Scherer | -0/+2 | |
| r=estebank"" This reverts commit 4a742a691e7dd2522bad68b86fe2fd5a199d5561. | ||||
| 2022-09-15 | Only enable the let_else feature on bootstrap | est31 | -1/+1 | |
| On later stages, the feature is already stable. Result of running: rg -l "feature.let_else" compiler/ src/librustdoc/ library/ | xargs sed -s -i "s#\\[feature.let_else#\\[cfg_attr\\(bootstrap, feature\\(let_else\\)#" | ||||
| 2022-09-06 | Check all operands, they may contain indirections in their place | Oli Scherer | -2/+1 | |
| 2022-09-06 | Generalize the Assume intrinsic statement to a general Intrinsic statement | Oli Scherer | -8/+6 | |
| 2022-09-06 | Lower the assume intrinsic to a MIR statement | Oli Scherer | -8/+11 | |
| 2022-08-30 | Auto merge of #100812 - Nilstrieb:revert-let-chains-nightly, r=Mark-Simulacrum | bors | -0/+1 | |
| Revert let_chains stabilization This is the revert against master, the beta revert was already done in #100538. Bumps the stage0 compiler which already has it reverted. | ||||
| 2022-08-29 | Revert let_chains stabilization | Nilstrieb | -0/+1 | |
| This reverts commit 326646074940222d602f3683d0559088690830f4. This is the revert against master, the beta revert was already done in #100538. | ||||
| 2022-08-29 | Various changes to logging of borrowck-related code | Jack Huey | -6/+2 | |
| 2022-08-26 | diag-mig | AndyJado | -12/+6 | |
| 2022-08-12 | Adjust cfgs | Mark Rousskov | -1/+0 | |
| 2022-07-30 | Use LocalDefId for closures more | Cameron Steffen | -2/+2 | |
| 2022-07-29 | Auto merge of #99667 - ouz-a:some_branch, r=oli-obk | bors | -1/+1 | |
| Optimize `UnDerefer` Addresses the performance [issues](https://github.com/rust-lang/rust/pull/98145#issuecomment-1183548597) faced here. r? `@oli-obk` | ||||
| 2022-07-24 | optimize un_derefer | ouz-a | -1/+1 | |
| 2022-07-20 | Auto merge of #99506 - Dylan-DPC:rollup-q3msucx, r=Dylan-DPC | bors | -6/+9 | |
| Rollup of 7 pull requests Successful merges: - #98101 (stdlib support for Apple WatchOS) - #99345 (Do not allow typeck children items to constrain outer RPITs) - #99383 (Formalize defining_use_anchor) - #99436 (Add flag to configure `noalias` on `Box<T>`) - #99483 (Fix a numerical underflow in tuple wrap suggestion) - #99485 (Stop injecting `#[allow(unused_qualifications)]` in generated `derive` implementations) - #99486 (Refactor: remove a string comparison between types in `check_str_addition`) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup | ||||
| 2022-07-20 | take opaq types | ouz-a | -6/+9 | |
| 2022-07-20 | Revert "Rollup merge of #98582 - oli-obk:unconstrained_opaque_type, r=estebank" | Oli Scherer | -2/+0 | |
| This reverts commit 6f8fb911ad504b77549cf3256a09465621beab9d, reversing changes made to 7210e46dc69a4b197a313d093fe145722c248b7d. | ||||
| 2022-07-16 | Stabilize `let_chains` | Caio | -1/+1 | |
| 2022-07-15 | Introduce opaque type to hidden type projection | Oli Scherer | -0/+2 | |
| 2022-07-13 | Rename `debugging_opts` to `unstable_opts` | Joshua Nelson | -1/+1 | |
| This is no longer used only for debugging options (e.g. `-Zoutput-width`, `-Zallow-features`). Rename it to be more clear. | ||||
| 2022-07-12 | add new rval, pull deref early | ouz-a | -0/+17 | |
| 2022-07-07 | Tweak wording and spans | Esteban Küber | -0/+10 | |
| 2022-07-07 | Move `dominators` from Body to BasicBlocks | Tomasz Miąsko | -1/+1 | |
| 2022-06-28 | Migrate some rustc_borrowck diagnostics to SessionDiagnostic | Michael Goulet | -0/+1 | |
| 2022-06-27 | various: add `rustc_lint_diagnostics` to diag fns | David Wood | -0/+1 | |
| The `rustc_lint_diagnostics` attribute is used by the diagnostic translation/struct migration lints to identify calls where non-translatable diagnostics or diagnostics outwith impls are being created. Any function used in creating a diagnostic should be annotated with this attribute so this commit adds the attribute to many more functions. Signed-off-by: David Wood <david.wood@huawei.com> | ||||
| 2022-06-13 | remove unnecessary `to_string` and `String::new` | Takayuki Maeda | -1/+1 | |
| 2022-05-28 | Fix TyKind lint, make consts no longer fn, etc | Michael Goulet | -3/+5 | |
| 2022-05-28 | Initial fixes on top of type interner commit | Michael Goulet | -2/+4 | |
| 2022-05-23 | Refactor call terminator to always hold a destination place | Jakob Degen | -4/+3 | |
| 2022-05-20 | Remove `crate` visibility usage in compiler | Jacob Pratt | -1/+0 | |
| 2022-05-06 | Auto merge of #96268 - ↵ | bors | -65/+8 | |
| jackh726:remove-mutable_borrow_reservation_conflict-lint, r=nikomatsakis Remove mutable_borrow_reservation_conflict lint and allow the code pattern This was the only breaking issue with the NLL stabilization PR. Lang team decided to go ahead and allow this. r? `@nikomatsakis` Closes #59159 Closes #56254 | ||||
