| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-09-27 | Auto merge of #116163 - compiler-errors:lazyness, r=oli-obk | bors | -12/+5 | |
| Don't store lazyness in `DefKind::TyAlias` 1. Don't store lazyness of a type alias in its `DefKind`, but instead via a query. 2. This allows us to treat type aliases as lazy if `#[feature(lazy_type_alias)]` *OR* if the alias contains a TAIT, rather than having checks for both in separate parts of the codebase. r? `@oli-obk` cc `@fmease` | ||||
| 2023-09-26 | subst -> instantiate | lcnr | -11/+12 | |
| 2023-09-26 | Don't store lazyness in DefKind | Michael Goulet | -12/+5 | |
| 2023-09-24 | Remove span from BrAnon. | Camille GILLOT | -2/+2 | |
| 2023-09-20 | Auto merge of #115486 - compiler-errors:dont-capture-late-pls, r=cjgillot | bors | -3/+1 | |
| Correctly deny late-bound lifetimes from parent in anon consts and TAITs Reuse the `AnonConstBoundary` scope (introduced in #108553, renamed in this PR to `LateBoundary`) to deny late-bound vars of *all* kinds (ty/const/lifetime) in anon consts and TAITs. Side-note, but I would like to consolidate this with the error reporting for RPITs (E0657): https://github.com/rust-lang/rust/blob/c4f25777a08cd64b710e8a9a6159e67cbb35e6f5/compiler/rustc_hir_analysis/src/collect/resolve_bound_vars.rs#L733-L754 but the semantics about what we're allowed to capture there are slightly different, so I'm leaving that untouched. Fixes #115474 | ||||
| 2023-09-11 | Rollup merge of #115727 - fee1-dead-contrib:effect-fallback, r=oli-obk | Matthias Krüger | -1/+1 | |
| Implement fallback for effect param r? `@oli-obk` or `@lcnr` tracking issue for this ongoing work: https://github.com/rust-lang/rust/issues/110395 | ||||
| 2023-09-11 | add `is_host_effect` to `GenericParamDefKind::Const` and address review | Deadbeef | -1/+1 | |
| 2023-09-08 | E0220: only suggests associated types if there's only one candidate | Lieselotte | -25/+19 | |
| 2023-09-08 | Improve "associated type not found" diagnostics | Lieselotte | -11/+42 | |
| 2023-09-05 | Correctly deny late-bound lifetimes from parent in anon consts and TAITs | Michael Goulet | -3/+1 | |
| 2023-09-01 | Don't manually walk through param indices when adding implicit Sized and ↵ | Michael Goulet | -21/+52 | |
| ConstParamHasTy | ||||
| 2023-08-30 | Permit recursive weak type aliases | Oli Scherer | -7/+12 | |
| 2023-08-22 | Do not emit invalid suggestion in E0191 when spans overlap | Esteban Küber | -1/+15 | |
| Fix #115019. | ||||
| 2023-08-11 | Don't add associated type bound for non-types | Michael Goulet | -10/+19 | |
| 2023-08-08 | Auto merge of #114545 - fee1-dead-contrib:lower-impl-effect, r=oli-obk | bors | -7/+5 | |
| correctly lower `impl const` to bind to host effect param r? `@oli-obk` | ||||
| 2023-08-07 | Store the laziness of type aliases in the DefKind | León Orell Valerian Liehr | -8/+10 | |
| 2023-08-06 | lower impl const to bind to host effect param | Deadbeef | -7/+5 | |
| 2023-08-02 | Remove constness from `TraitPredicate` | Deadbeef | -11/+6 | |
| 2023-08-01 | Fix a comment | Michael Goulet | -1/+1 | |
| 2023-07-25 | inline format!() args from rustc_codegen_llvm to the end (4) | Matthias Krüger | -14/+14 | |
| r? @WaffleLapkin | ||||
| 2023-07-19 | Make it clearer that edition functions are >=, not == | Michael Goulet | -1/+1 | |
| 2023-07-14 | Rollup merge of #113698 - compiler-errors:rpitit-check, r=spastorino | Matthias Krüger | -3/+3 | |
| Make it clearer that we're just checking for an RPITIT Tiny nit to use `is_impl_trait_in_trait` more, to make it clearer that we're just checking whether a def-id is an RPITIT, rather than doing something meaningful with the `opt_rpitit_info`. r? `@spastorino` | ||||
| 2023-07-14 | Make it clearer that we're just checking for an RPITIT | Michael Goulet | -3/+3 | |
| 2023-07-14 | refactor(rustc_middle): Substs -> GenericArg | Mahdi Dibaiee | -124/+131 | |
| 2023-07-12 | Re-format let-else per rustfmt update | Mark Rousskov | -45/+61 | |
| 2023-07-08 | Replace RPITIT current impl with new strategy that lowers as a GAT | Santiago Pastorino | -2/+2 | |
| 2023-07-05 | Move `TyCtxt::mk_x` to `Ty::new_x` where applicable | Boxy | -47/+48 | |
| 2023-07-05 | Only use a single loop over the associated types | Oli Scherer | -5/+2 | |
| 2023-07-05 | Prefer `retain` over hand-rolling an inefficient version of it | Oli Scherer | -7/+3 | |
| 2023-07-05 | tidy: move a large function out of an even larger file | Oli Scherer | -406/+418 | |
| 2023-07-05 | Lint now-unnecessary associated type bounds | Oli Scherer | -3/+21 | |
| 2023-07-05 | Don't require associated types with `Self: Sized` bounds in `dyn Trait` objects | Oli Scherer | -0/+10 | |
| 2023-07-04 | Replace `const_error` methods with `Const::new_error` | Boxy | -10/+10 | |
| 2023-07-04 | Replace `mk_const` with `Const::new_x` methods | Boxy | -6/+6 | |
| 2023-07-03 | remove TypeWellFormedFromEnv | Michael Goulet | -2/+1 | |
| 2023-07-03 | Don't perform selection if IATs are not enabled | León Orell Valerian Liehr | -5/+9 | |
| 2023-07-01 | Auto merge of #113154 - lcnr:better-probe-check, r=compiler-errors | bors | -1/+1 | |
| change snapshot tracking in fulfillment contexts use the exact snapshot number to prevent misuse even when created inside of a snapshot | ||||
| 2023-06-29 | Intern OpaqueTy on ItemKind::OpaqueTy | Santiago Pastorino | -1/+1 | |
| 2023-06-29 | change snapshot tracking in fulfillment contexts | lcnr | -1/+1 | |
| 2023-06-27 | pass PredicateFilter to compute_bounds | Michael Goulet | -35/+45 | |
| 2023-06-26 | TypeWellFormedInEnv | Michael Goulet | -1/+2 | |
| 2023-06-26 | Migrate predicates_of and caller_bounds to Clause | Michael Goulet | -35/+24 | |
| 2023-06-23 | Rollup merge of #112983 - spastorino:new-rpitit-23, r=compiler-errors | Michael Goulet | -6/+14 | |
| Fix return type notation associated type suggestion when -Zlower-impl-trait-in-trait-to-assoc-ty This avoid suggesting the associated types generated for RPITITs when the one the code refers to doesn't exist and rustc looks for a suggestion. r? `@compiler-errors` | ||||
| 2023-06-23 | Fix associated type suggestion when -Zlower-impl-trait-in-trait-to-assoc-ty | Santiago Pastorino | -6/+14 | |
| 2023-06-23 | Fix return type notation errors with -Zlower-impl-trait-in-trait-to-assoc-ty | Santiago Pastorino | -1/+1 | |
| 2023-06-21 | Rollup merge of #112853 - GuillaumeGomez:type_alias_type, r=oli-obk | Guillaume Gomez | -1/+1 | |
| Add `lazy_type_alias` feature gate Add the `type_alias_type` to be able to have the weak alias used without restrictions. Part of #112792. cc `@compiler-errors` r? `@oli-obk` | ||||
| 2023-06-21 | Add `lazy_type_alias` feature gate | Guillaume Gomez | -1/+1 | |
| 2023-06-19 | Fully fledged Clause type | Michael Goulet | -2/+2 | |
| 2023-06-19 | s/Clause/ClauseKind | Michael Goulet | -11/+13 | |
| 2023-06-18 | Rollup merge of #112734 - dswij:bounds-predicates-clause, r=compiler-errors | Matthias Krüger | -2/+4 | |
| Make `Bound::predicates` use `Clause` Part of #107250 `Bound::predicates` returns an iterator over `Binder<_, Clause>` instead of `Predicate`. I tried updating `explicit_predicates_of` as well, but it seems that it needs a lot more change than I thought. Will do it in a separate PR instead. | ||||
