| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-03-03 | Match unmatched backticks in comments in compiler/ | est31 | -1/+1 | |
| 2023-02-23 | Auto merge of #108324 - notriddle:notriddle/assoc-fn-method, ↵ | bors | -1/+1 | |
| r=compiler-errors,davidtwco,estebank,oli-obk diagnostics: if AssocFn has self argument, describe as method Discussed in https://rust-lang.zulipchat.com/#narrow/stream/147480-t-compiler.2Fwg-diagnostics/topic/.22associated.20function.22.20vs.20.22method.22/near/329265515 This commit also changes the tooltips on rustdoc intra-doc links targeting methods. For anyone not sure why this is being done, see the Reference definitions of these terms in <https://doc.rust-lang.org/1.67.1/reference/items/associated-items.html#methods> > Associated functions whose first parameter is named `self` are called methods and may be invoked using the [method call operator](https://doc.rust-lang.org/1.67.1/reference/expressions/method-call-expr.html), for example, `x.foo()`, as well as the usual function call notation. In particular, while this means it's technically correct for rustc to refer to a method as an associated function (and there are a few cases where it'll still do so), rustc *must never* use the term "method" to refer to an associated function that does not have a `self` parameter. | ||||
| 2023-02-22 | Remove type-traversal trait aliases | Alan Egerton | -3/+4 | |
| 2023-02-22 | diagnostics: if AssocFn has self argument, describe as method | Michael Howell | -1/+1 | |
| Discussed in https://rust-lang.zulipchat.com/#narrow/stream/147480-t-compiler.2Fwg-diagnostics/topic/.22associated.20function.22.20vs.20.22method.22/near/329265515 This commit also changes the tooltips on rustdoc intra-doc links targeting methods. | ||||
| 2023-02-17 | Auto merge of #108075 - WaffleLapkin:de-arena-allocates-you-OwO, r=Nilstrieb | bors | -7/+7 | |
| Remove `arena_cache` modifier from `associated_item` query & copy `ty::AssocItem` instead of passing by ref r? `@ghost` | ||||
| 2023-02-16 | remove bound_type_of query; make type_of return EarlyBinder; change type_of ↵ | Kyle Matsuda | -6/+6 | |
| in metadata | ||||
| 2023-02-16 | change usages of type_of to bound_type_of | Kyle Matsuda | -6/+6 | |
| 2023-02-15 | Copy `ty::AssocItem` all other the place | Maybe Waffle | -7/+7 | |
| 2023-02-14 | Move query out of path. | Camille GILLOT | -2/+7 | |
| 2023-02-14 | Even less HIR. | Camille GILLOT | -19/+20 | |
| 2023-02-14 | Do not fetch HIR for inherent impls. | Camille GILLOT | -56/+36 | |
| 2023-02-14 | Add `of_trait` to DefKind::Impl. | Camille GILLOT | -1/+1 | |
| 2023-02-13 | Rollup merge of #107942 - compiler-errors:tighter-inherent-impl-bad-spans, ↵ | Matthias Krüger | -16/+17 | |
| r=Nilstrieb Tighter spans for bad inherent `impl` self types Self-explanatory | ||||
| 2023-02-13 | Tighter spans for bad inherent impl types | Michael Goulet | -16/+17 | |
| 2023-02-13 | Make visiting traits generic over the Interner | Alan Egerton | -1/+1 | |
| 2023-02-13 | Alias folding/visiting traits instead of re-export | Alan Egerton | -1/+1 | |
| 2023-02-06 | Modify existing bounds if they exist | Edward Shen | -0/+1 | |
| 2023-02-03 | Autotrait bounds on dyn-safe trait methods | David Tolnay | -0/+22 | |
| 2023-02-03 | Disallow impl autotrait for trait object | David Tolnay | -40/+161 | |
| 2023-01-30 | Rollup merge of #107125 - ↵ | Matthias Krüger | -4/+2 | |
| WaffleLapkin:expect_an_item_in_your_hir_by_the_next_morning, r=Nilstrieb Add and use expect methods to hir. [The future has come](https://github.com/rust-lang/rust/pull/106090/files#r1070062462). r? `@Nilstrieb` tbh I'm not even sure if it's worth it | ||||
| 2023-01-28 | Rename `is_object_safe` to `check_is_object_safe` to hint side effects | Gary Guo | -1/+1 | |
| 2023-01-27 | Introduce GeneratorWitnessMIR. | Camille GILLOT | -0/+1 | |
| 2023-01-23 | fix: use LocalDefId instead of HirId in trait res | Vincenzo Palazzo | -7/+4 | |
| use LocalDefId instead of HirId in trait resolution to simplify the obligation clause resolution Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com> | ||||
| 2023-01-20 | Auto merge of #105102 - compiler-errors:copy-impl-considering-regions, r=lcnr | bors | -44/+66 | |
| Check ADT fields for copy implementations considering regions Fixes #88901 r? `@ghost` | ||||
| 2023-01-20 | Add and use expect methods to hir. | Maybe Waffle | -4/+2 | |
| 2023-01-20 | Auto merge of #106090 - WaffleLapkin:dereffffffffff, r=Nilstrieb | bors | -14/+10 | |
| Remove some `ref` patterns from the compiler Previous PR: https://github.com/rust-lang/rust/pull/105368 r? `@Nilstrieb` | ||||
| 2023-01-17 | Stop using `BREAK` & `CONTINUE` in compiler | Scott McMurray | -3/+3 | |
| Switching them to `Break(())` and `Continue(())` instead. libs-api would like to remove these constants, so stop using them in compiler to make the removal PR later smaller. | ||||
| 2023-01-17 | Rollup merge of #104505 - WaffleLapkin:no-double-spaces-in-comments, r=jackh726 | Matthias Krüger | -2/+2 | |
| Remove double spaces after dots in comments Most of the comments do not have double spaces, so I assume these are typos. | ||||
| 2023-01-17 | Remove double spaces after dots in comments | Maybe Waffle | -2/+2 | |
| 2023-01-17 | `rustc_hir_analysis`: remove `ref` patterns | Maybe Waffle | -9/+8 | |
| 2023-01-17 | `rustc_hir_analysis`: some general code improvements | Maybe Waffle | -5/+2 | |
| 2023-01-14 | fix various subst_identity vs skip_binder | Kyle Matsuda | -2/+3 | |
| 2023-01-14 | change impl_trait_ref query to return EarlyBinder; remove ↵ | Kyle Matsuda | -7/+5 | |
| bound_impl_trait_ref query; add EarlyBinder to impl_trait_ref in metadata | ||||
| 2023-01-14 | change usages of impl_trait_ref to bound_impl_trait_ref | Kyle Matsuda | -5/+7 | |
| 2023-01-13 | Suggest lifetime bound in illegal Copy impl | Michael Goulet | -43/+63 | |
| 2023-01-13 | Check ADT fields for copy implementations considering regions | Michael Goulet | -2/+4 | |
| 2023-01-09 | Rollup merge of #106164 - compiler-errors:check-region-tweak, r=oli-obk | fee1-dead | -2/+4 | |
| Move `check_region_obligations_and_report_errors` to `TypeErrCtxt` Makes sense for this function to live with its sibling `resolve_regions_and_report_errors`, around which it's basically just a wrapper. | ||||
| 2023-01-03 | Rollup merge of #106353 - lukas-code:reduce-red-lines-in-my-ide, r=wesleywiser | Michael Goulet | -3/+3 | |
| Reduce spans for `unsafe impl` errors Because huge spans aren't great for IDEs. Prior art: https://github.com/rust-lang/rust/pull/103749 | ||||
| 2023-01-03 | Move check_region_obligations_and_report_errors to TypeErrCtxt | Michael Goulet | -2/+4 | |
| 2023-01-01 | Implement fix for #67535 | Troy Neubauer | -3/+11 | |
| 2023-01-01 | reduce spans for `unsafe impl` errors | Lukas Markeffsky | -3/+3 | |
| 2022-12-24 | Bubble up ErrorGuaranteed from region constraints in method item compare | Michael Goulet | -2/+2 | |
| 2022-12-24 | Rollup merge of #105975 - jeremystucki:rustc-remove-needless-lifetimes, r=eholk | Matthias Krüger | -2/+2 | |
| rustc: Remove needless lifetimes | ||||
| 2022-12-21 | Give opaque types a better coherence error | Oli Scherer | -8/+15 | |
| 2022-12-20 | rustc: Remove needless lifetimes | Jeremy Stucki | -2/+2 | |
| 2022-12-18 | A few small cleanups for `newtype_index` | Nilstrieb | -2/+2 | |
| Remove the `..` from the body, only a few invocations used it and it's inconsistent with rust syntax. Use `;` instead of `,` between consts. As the Rust syntax gods inteded. | ||||
| 2022-12-18 | Make `#[custom_encodable]` an attribute for `newtype_index` | Nilstrieb | -1/+1 | |
| Makes the syntax a little more rusty. | ||||
| 2022-12-13 | Combine identical alias arms | Michael Goulet | -1/+1 | |
| 2022-12-13 | Combine projection and opaque into alias | Michael Goulet | -1/+1 | |
| 2022-11-26 | Rollup merge of #104786 - WaffleLapkin:amp-mut-help, r=compiler-errors | Guillaume Gomez | -2/+2 | |
| Use the power of adding helper function to simplify code w/ `Mutability` r? `@compiler-errors` | ||||
