| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-10-30 | Clean up `rustc_*/Cargo.toml`. | Nicholas Nethercote | -2/+4 | |
| - Sort dependencies and features sections. - Add `tidy` markers to the sorted sections so they stay sorted. - Remove empty `[lib`] sections. - Remove "See more keys..." comments. Excluded files: - rustc_codegen_{cranelift,gcc}, because they're external. - rustc_lexer, because it has external use. - stable_mir, because it has external use. | ||||
| 2023-10-23 | Merge associated types with the other alias types | Oli Scherer | -18/+7 | |
| 2023-10-23 | Sync the logic for inherent and weak type aliases | Oli Scherer | -5/+6 | |
| 2023-10-20 | s/Generator/Coroutine/ | Oli Scherer | -3/+3 | |
| 2023-10-13 | Format all the let chains in compiler | Michael Goulet | -2/+4 | |
| 2023-10-08 | rustdoc: remove rust logo from non-Rust crates | Michael Howell | -0/+3 | |
| 2023-09-26 | Don't store lazyness in DefKind | Michael Goulet | -3/+3 | |
| 2023-09-23 | Remove GeneratorWitness and rename GeneratorWitnessMIR. | Camille GILLOT | -2/+1 | |
| 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-07 | Lint node for PRIVATE_BOUNDS is the item which has the bounds | Michael Goulet | -3/+4 | |
| 2023-09-01 | Auto merge of #113126 - Bryanskiy:delete_old, r=petrochenkov | bors | -434/+15 | |
| Replace old private-in-public diagnostic with type privacy lints Next part of RFC https://github.com/rust-lang/rust/issues/48054. r? `@petrochenkov` | ||||
| 2023-08-14 | Use `{Local}ModDefId` in many queries | Nilstrieb | -21/+37 | |
| 2023-08-13 | Add typed `{Local}DefId` for modules | Nilstrieb | -1/+1 | |
| This allows for better type safety in the compiler and also improves the documentation for many things, making it clear that they expect modules. | ||||
| 2023-08-07 | Store the laziness of type aliases in the DefKind | León Orell Valerian Liehr | -3/+3 | |
| 2023-08-02 | Remove constness from `TraitPredicate` | Deadbeef | -1/+1 | |
| 2023-08-02 | Replace old private-in-public diagnostic with type privacy lints | Bryanskiy | -434/+15 | |
| 2023-07-30 | Weaken unnameable_types lint | Bryanskiy | -5/+1 | |
| 2023-07-14 | refactor(rustc_middle): Substs -> GenericArg | Mahdi Dibaiee | -28/+30 | |
| 2023-07-08 | Replace RPITIT current impl with new strategy that lowers as a GAT | Santiago Pastorino | -14/+1 | |
| 2023-07-03 | remove TypeWellFormedFromEnv | Michael Goulet | -1/+0 | |
| 2023-06-30 | Fix associated items effective visibility calculation for type privacy lints | Bryanskiy | -4/+7 | |
| 2023-06-29 | Fix type privacy lints error message | Bryanskiy | -3/+4 | |
| 2023-06-29 | Rollup merge of #112670 - petrochenkov:typriv, r=eholk | Matthias Krüger | -96/+77 | |
| privacy: Type privacy lints fixes and cleanups See individual commits. Follow up to https://github.com/rust-lang/rust/pull/111801. | ||||
| 2023-06-26 | TypeWellFormedInEnv | Michael Goulet | -0/+1 | |
| 2023-06-26 | Migrate predicates_of and caller_bounds to Clause | Michael Goulet | -17/+4 | |
| 2023-06-22 | Migrate item_bounds to ty::Clause | Michael Goulet | -39/+29 | |
| 2023-06-19 | Fully fledged Clause type | Michael Goulet | -2/+2 | |
| 2023-06-19 | s/Clause/ClauseKind | Michael Goulet | -9/+11 | |
| 2023-06-18 | Rollup merge of #112734 - dswij:bounds-predicates-clause, r=compiler-errors | Matthias Krüger | -3/+3 | |
| 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. | ||||
| 2023-06-17 | Move ConstEvaluatable to Clause | Michael Goulet | -1/+1 | |
| 2023-06-17 | Move WF goal to clause | Michael Goulet | -1/+1 | |
| 2023-06-17 | `Bound::predicates` to return `Clause` | dswij | -3/+3 | |
| 2023-06-16 | Add `AliasKind::Weak` for type aliases. | Oli Scherer | -0/+3 | |
| Only use it when the type alias contains an opaque type. Also does wf-checking on such type aliases. | ||||
| 2023-06-15 | privacy: Rename some variables for clarity | Vadim Petrochenkov | -7/+7 | |
| 2023-06-15 | privacy: Do not mark items reachable farther than their nominal visibility | Vadim Petrochenkov | -7/+11 | |
| This commit reverts a change made in #111425. It was believed that this change was necessary for implementing type privacy lints, but #111801 showed that it was not necessary. Quite opposite, the revert fixes some issues. | ||||
| 2023-06-15 | privacy: Remove `(Non)ShallowEffectiveVis` | Vadim Petrochenkov | -84/+61 | |
| Use a boolean constant parameter instead. Also turn some methods on `DefIdVisitor` into associated constants. | ||||
| 2023-06-12 | Private-in-public lints implementation | Bryanskiy | -49/+257 | |
| 2023-06-08 | increase the accuracy of effective visibilities calculation | Bryanskiy | -25/+21 | |
| 2023-06-01 | Rename `impl_defaultness` to `defaultness` | Deadbeef | -2/+2 | |
| 2023-05-25 | Ensure Fluent messages are in alphabetical order | clubby789 | -9/+9 | |
| 2023-05-22 | rustc_privacy: Reach underlying types of `impl Trait`s in a separate pass | Vadim Petrochenkov | -17/+29 | |
| outside of fixed point iteration. | ||||
| 2023-05-22 | rustc_privacy: Merge three matches on `ItemKind` into one | Vadim Petrochenkov | -112/+61 | |
| and remove some more `Option`s as a result | ||||
| 2023-05-22 | rustc_privacy: Remove some `Option`s | Vadim Petrochenkov | -32/+25 | |
| in cases where they are guaranteed to be `Some` | ||||
| 2023-05-22 | rustc_privacy: Migrate `EmbargoVisitor` to `visit_all_item_likes_in_crate` | Vadim Petrochenkov | -18/+1 | |
| Previously it had some logic requiring tree visiting, but it was moved to resolve last year. | ||||
| 2023-05-15 | Move expansion of query macros in rustc_middle to rustc_middle::query | John Kåre Alsaker | -1/+1 | |
| 2023-05-11 | Populate effective visibilities in rustc_privacy | Bryanskiy | -117/+157 | |
| 2023-05-09 | Auto merge of #111371 - compiler-errors:revert-110907, r=petrochenkov | bors | -154/+117 | |
| Revert "Populate effective visibilities in `rustc_privacy`" This reverts commit cff85f22f5030fbe7266d272da74a9e76160523c, cc #110907. It needs to be fixed, but there are too many issues being reported that I wanted to put up a revert until a proper fix can be committed. Fixes a ton of issues where private but still reachable impls were missing during codegen: Fixes #111320 Fixes #111321 Fixes #111334 Fixes #111357 Fixes #111368 Fixes #111373 Fixes #111377 Fixes #111386 Fixes #111387 `@bors` p=1 r? `@petrochenkov` | ||||
| 2023-05-08 | Revert "Populate effective visibilities in `rustc_privacy`" | Michael Goulet | -154/+117 | |
| This reverts commit cff85f22f5030fbe7266d272da74a9e76160523c. | ||||
| 2023-05-08 | Rollup merge of #109410 - fmease:iat-alias-kind-inherent, r=compiler-errors | Michael Goulet | -0/+33 | |
| Introduce `AliasKind::Inherent` for inherent associated types Allows us to check (possibly generic) inherent associated types for well-formedness. Type inference now also works properly. Follow-up to #105961. Supersedes #108430. Fixes #106722. Fixes #108957. Fixes #109768. Fixes #109789. Fixes #109790. ~Not to be merged before #108860 (`AliasKind::Weak`).~ CC `@jackh726` r? `@compiler-errors` `@rustbot` label T-types F-inherent_associated_types | ||||
