| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-01-17 | Handle diagnostics customization on the fluent side | Oli Scherer | -12/+0 | |
| 2023-01-17 | Remove double spaces after dots in comments | Maybe Waffle | -14/+14 | |
| 2023-01-17 | Rollup merge of #106829 - compiler-errors:more-alias-combine, r=spastorino | Matthias Krüger | -7/+2 | |
| Unify `Opaque`/`Projection` handling in region outlives code They share basically identical paths in most places which are even easier to unify now that they're both `ty::Alias` r? types | ||||
| 2023-01-17 | Account for method call and indexing when looking for inner-most path in ↵ | Esteban Küber | -1/+3 | |
| expression | ||||
| 2023-01-17 | Account for field access when looking for inner-most path in expression | Esteban Küber | -1/+2 | |
| 2023-01-17 | Account for `*` when looking for inner-most path in expression | Esteban Küber | -1/+3 | |
| 2023-01-16 | Rollup merge of #106940 - oli-obk:tait_error, r=compiler-errors | Matthias Krüger | -12/+21 | |
| Improve a TAIT error and add an error code plus documentation cc https://github.com/rust-lang/rust/issues/106858 | ||||
| 2023-01-16 | Improve a TAIT error and add an error code plus documentation | Oli Scherer | -12/+21 | |
| 2023-01-15 | Tweak E0597 | Esteban Küber | -5/+33 | |
| CC #99430 | ||||
| 2023-01-15 | Remove bound_{explicit,}_item_bounds | Michael Goulet | -27/+21 | |
| 2023-01-15 | Make InstantiatedPredicates impl IntoIterator | Michael Goulet | -5/+1 | |
| 2023-01-14 | Fix some missed double spaces. | André Vennberg | -1/+1 | |
| 2023-01-14 | Removed various double spaces in compiler source comments. | André Vennberg | -1/+1 | |
| 2023-01-13 | Unify Opaque/Projection handling in region outlives code | Michael Goulet | -7/+2 | |
| 2023-01-13 | Rollup merge of #106641 - chenyukang:yukang/fix-105761-segguest-this, r=estebank | Matthias Krüger | -5/+145 | |
| Provide help on closures capturing self causing borrow checker errors Fixes #105761 r? ````@estebank```` | ||||
| 2023-01-12 | Fix ICE formatting | Esteban Küber | -1/+1 | |
| 2023-01-12 | take care when there is no args in method call | yukang | -14/+12 | |
| 2023-01-12 | Provide help on closures capturing self causing borrow checker errors | yukang | -5/+147 | |
| 2023-01-11 | Do not filter substs in `remap_generic_params_to_declaration_params`. | Camille GILLOT | -1/+1 | |
| The relevant filtering should have been performed by borrowck. | ||||
| 2023-01-11 | Change `src/test` to `tests` in source files, fix tidy and tests | Albert Larsan | -3/+3 | |
| 2023-01-10 | Rollup merge of #106204 - compiler-errors:no-take-opaques-in-compare, r=oli-obk | Yuki Okushi | -2/+2 | |
| No need to take opaques in `check_type_bounds` `InferCtxt` already has its defining use anchor set to err r? ``@oli-obk`` | ||||
| 2023-01-09 | Auto merge of #106637 - fee1-dead-contrib:rollup-ticvmsd, r=fee1-dead | bors | -92/+63 | |
| Rollup of 10 pull requests Successful merges: - #105292 (Change a commit_if_ok call to probe) - #105655 (Remove invalid case for mutable borrow suggestion) - #106047 (Fix ui constant tests for big-endian platforms) - #106061 (Enable Shadow Call Stack for Fuchsia on AArch64) - #106164 (Move `check_region_obligations_and_report_errors` to `TypeErrCtxt`) - #106291 (Fix incorrect suggestion for extra `&` in pattern) - #106389 (Simplify some canonical type alias names) - #106468 (Use FxIndexSet when updating obligation causes in `adjust_fulfillment_errors_for_expr_obligation`) - #106549 (Use fmt named parameters in rustc_borrowck) - #106614 (error-code docs improvements (No. 2)) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup | ||||
| 2023-01-09 | Assert defining anchor is set in take_opaque_types | Michael Goulet | -2/+2 | |
| 2023-01-09 | Rollup merge of #106549 - wcampbell0x2a:use-fmt-named-parameters-borrowck, ↵ | fee1-dead | -92/+63 | |
| r=estebank Use fmt named parameters in rustc_borrowck | ||||
| 2023-01-09 | Auto merge of #101947 - aliemjay:astconv-normalize, r=lcnr | bors | -150/+130 | |
| Don't normalize in AstConv See individual commits. Fixes #101350 Fixes #54940 | ||||
| 2023-01-08 | Rollup merge of #106410 - clubby789:borrow-mut-self-mut-self-diag, ↵ | Yuki Okushi | -11/+16 | |
| r=compiler-errors Suggest `mut self: &mut Self` for `?Sized` impls Closes #106325 Closes #93078 The suggestion is _probably_ not what the user wants (hence `MaybeIncorrect`) but at least makes the problem in the above issues clearer. It might be better to add a note explaining why this is the case, but I'm not sure how best to word that so this is a start. ``@rustbot`` label +A-diagnostics | ||||
| 2023-01-07 | Rollup merge of #106509 - estebank:closure-in-block, r=davidtwco | Matthias Krüger | -11/+41 | |
| Detect closures assigned to binding in block Fix #58497. | ||||
| 2023-01-07 | make ascribe_user_type a TypeOp | Ali MJ Al-Nasrawy | -150/+130 | |
| Projection types in user annotations may contain inference variables. This makes the normalization depend on the unification with the actual type and thus requires a separate TypeOp to track the obligations. Otherwise simply calling `TypeChecker::normalize` would ICE with "unexpected ambiguity" | ||||
| 2023-01-06 | Use fmt named parameters in rustc_borrowck | wcampbell | -92/+63 | |
| 2023-01-05 | Suggests adding named lifetime when the return contains value borrowed from ↵ | yanchen4791 | -2/+11 | |
| more than one lifetimes of the function's inputs | ||||
| 2023-01-05 | Detect closures assigned to binding in block | Esteban Küber | -11/+41 | |
| Fix #58497. | ||||
| 2023-01-05 | Explain error with `&mut self` for unsized trait impls | clubby789 | -11/+16 | |
| 2023-01-04 | Rollup merge of #106403 - compiler-errors:rename-hir-methods, r=cjgillot | Michael Goulet | -2/+2 | |
| Rename `hir::Map::{get_,find_}parent_node` to `hir::Map::{,opt_}parent_id`, and add `hir::Map::{get,find}_parent` The `hir::Map::get_parent_node` function doesn't return a `Node`, and I think that's quite confusing. Let's rename it to something that sounds more like something that gets the parent hir id => `hir::Map::parent_id`. Same with `find_parent_node` => `opt_parent_id`. Also, combine `hir.get(hir.parent_id(hir_id))` and similar `hir.find(hir.parent_id(hir_id))` function into new functions that actually retrieve the parent node in one call. This last commit is the only one that might need to be looked at closely. | ||||
| 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-04 | Address comments | Michael Goulet | -67/+8 | |
| 2023-01-04 | Simplify some iterator combinators | Michael Goulet | -42/+31 | |
| 2023-01-04 | rename get_parent_node to parent_id | Michael Goulet | -2/+2 | |
| 2023-01-01 | Verbose suggestions | Esteban Küber | -3/+3 | |
| 2023-01-01 | Merge multiple mutable borrows of immutable binding errors | Esteban Küber | -35/+107 | |
| Fix #53466. | ||||
| 2022-12-31 | Auto merge of #106245 - estebank:mutability-suggestions, r=jyn514 | bors | -21/+12 | |
| Use verbose suggestions for mutability errors | ||||
| 2022-12-28 | Use verbose suggestions for mutability errors | Esteban Küber | -21/+12 | |
| 2022-12-28 | Rename `Rptr` to `Ref` in AST and HIR | Nilstrieb | -7/+4 | |
| The name makes a lot more sense, and `ty::TyKind` calls it `Ref` already as well. | ||||
| 2022-12-27 | Auto merge of #106095 - estebank:pin-mut-reborrow, r=compiler-errors | bors | -10/+59 | |
| Suggest `Pin::as_mut` when encountering borrow error Fix #65409 for `Pin<&mut T>`. | ||||
| 2022-12-26 | review comments | Esteban Küber | -7/+5 | |
| 2022-12-25 | Remove redundant clone suggestion | Esteban Küber | -1/+13 | |
| 2022-12-25 | Create new inference context | Esteban Küber | -29/+33 | |
| 2022-12-25 | fix more clippy::style findings | Matthias Krüger | -23/+22 | |
| match_result_ok obfuscated_if_else single_char_add writeln_empty_string collapsible_match iter_cloned_collect unnecessary_mut_passed | ||||
| 2022-12-23 | Do not use `hir_ty_to_ty` | Esteban Küber | -16/+10 | |
| 2022-12-24 | Rollup merge of #105975 - jeremystucki:rustc-remove-needless-lifetimes, r=eholk | Matthias Krüger | -11/+8 | |
| rustc: Remove needless lifetimes | ||||
| 2022-12-23 | Verify receiver is of `self: Pin<&mut Self>` | Esteban Küber | -2/+6 | |
