| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2025-07-31 | remove rustc_attr_data_structures | Jana Dönszelmann | -2/+2 | |
| 2025-07-28 | use let chains in hir, lint, mir | Kivooeo | -4/+4 | |
| 2025-07-09 | Port `#[fundamental]` to the new attribute system | Pavel Grigorenko | -2/+1 | |
| 2025-07-04 | Port `#[non_exhaustive]` to the new attribute parsing infrastructure | Jonathan Brouwer | -1/+4 | |
| 2025-06-16 | trait_sel: `{Meta,Pointee}Sized` on `?Sized` types | David Wood | -6/+15 | |
| Expand the automatic implementation of `MetaSized` and `PointeeSized` so that it is also implemented on non-`Sized` types, just not `ty::Foreign` (extern type). | ||||
| 2025-04-18 | Re-remove `AdtFlags::IS_ANONYMOUS` | Sky | -2/+0 | |
| 2025-04-13 | Initial `UnsafePinned`/`UnsafeUnpin` impl [Part 1: Libs] | Sky | -0/+13 | |
| 2025-04-02 | Fetch the destructor constness lazily | Oli Scherer | -1/+1 | |
| 2025-03-19 | Rollup merge of #138001 - meithecatte:privately-uninhabited, r=Nadrieril | Matthias Krüger | -0/+11 | |
| mir_build: consider privacy when checking for irrefutable patterns This PR fixes #137999. Note that, since this makes the compiler reject code that was previously accepted, it will probably need a crater run. I include a commit that factors out a common code pattern into a helper function, purely because the fact that this was repeated all over the place was bothering me. Let me know if I should split that into a separate PR instead. | ||||
| 2025-03-10 | Remove AdtFlags::IS_ANONYMOUS and Copy/Clone condition for anonymous ADT | Michael Goulet | -8/+0 | |
| 2025-03-07 | Add helper methods checking for "#[non_exhaustive] that's active" | Maja Kądziołka | -0/+11 | |
| A check for `#[non_exhaustive]` is often done in combination with checking whether the type is local to the crate, in a variety of ways. Create a helper method and standardize on it as the way to check for this. | ||||
| 2025-02-22 | Greatly simplify lifetime captures in edition 2024 | Michael Goulet | -2/+1 | |
| 2025-02-13 | Implement and use BikeshedGuaranteedNoDrop for union/unsafe field validity | Michael Goulet | -0/+4 | |
| 2024-12-31 | Convert some Into impls into From impls | Michael Goulet | -3/+3 | |
| 2024-12-18 | Re-export more `rustc_span::symbol` things from `rustc_span`. | Nicholas Nethercote | -1/+1 | |
| `rustc_span::symbol` defines some things that are re-exported from `rustc_span`, such as `Symbol` and `sym`. But it doesn't re-export some closely related things such as `Ident` and `kw`. So you can do `use rustc_span::{Symbol, sym}` but you have to do `use rustc_span::symbol::{Ident, kw}`, which is inconsistent for no good reason. This commit re-exports `Ident`, `kw`, and `MacroRulesNormalizedIdent`, and changes many `rustc_span::symbol::` qualifiers in `compiler/` to `rustc_span::`. This is a 200+ net line of code reduction, mostly because many files with two `use rustc_span` items can be reduced to one. | ||||
| 2024-11-22 | Implement ~const Destruct in new solver | Michael Goulet | -4/+8 | |
| 2024-11-18 | use `TypingEnv` when no `infcx` is available | lcnr | -2/+3 | |
| the behavior of the type system not only depends on the current assumptions, but also the currentnphase of the compiler. This is mostly necessary as we need to decide whether and how to reveal opaque types. We track this via the `TypingMode`. | ||||
| 2024-11-03 | compiler: Directly use rustc_abi in metadata and middle | Jubilee Young | -1/+1 | |
| Stop reexporting ReprOptions from middle::ty | ||||
| 2024-10-01 | Remove unnamed field feature | Michael Goulet | -8/+1 | |
| 2024-09-22 | Reformat using the new identifier sorting from rustfmt | Michael Goulet | -1/+1 | |
| 2024-07-29 | Reformat `use` declarations. | Nicholas Nethercote | -10/+9 | |
| The previous commit updated `rustfmt.toml` appropriately. This commit is the outcome of running `x fmt --all` with the new formatting options. | ||||
| 2024-07-07 | Uplift trait_ref_is_knowable and friends | Michael Goulet | -0/+4 | |
| 2024-06-18 | Uplift the new trait solver | Michael Goulet | -1/+9 | |
| 2024-06-14 | Use is_lang_item more aggressively | Michael Goulet | -5/+5 | |
| 2024-06-13 | Rework most of structural_traits to be Interner-agnostic | Michael Goulet | -0/+17 | |
| 2024-06-06 | Uplift TypeRelation and Relate | Michael Goulet | -0/+6 | |
| 2024-05-29 | Optimize async drop glue for some old types | Daria Sukhonina | -2/+2 | |
| 2024-05-29 | Start implementing needs_async_drop and related | Daria Sukhonina | -1/+9 | |
| 2024-05-26 | Give EarlyBinder a tcx parameter | Michael Goulet | -1/+1 | |
| We are gonna need it to uplift EarlyBinder | ||||
| 2024-05-23 | Remove `#[macro_use] extern crate tracing` from `rustc_middle`. | Nicholas Nethercote | -0/+1 | |
| 2024-04-29 | Remove `extern crate bitflags` from a couple of crates. | Nicholas Nethercote | -1/+1 | |
| 2024-04-29 | Remove `extern crate rustc_macros` from `rustc_middle`. | Nicholas Nethercote | -2/+2 | |
| 2024-03-27 | Remove `Partial/Ord` from `AdtDef` | Oli Scherer | -16/+1 | |
| 2024-03-14 | clean up ADT sized constraint computation | Lukas Markeffsky | -4/+4 | |
| 2024-03-14 | make `Representability::Infinite` carry `ErrorGuaranteed` | Lukas Markeffsky | -1/+1 | |
| 2024-02-27 | Avoid `span_delayed_bug` on one path in `AdtDef::eval_explicit_discr`. | Nicholas Nethercote | -13/+24 | |
| Also change its return type to `Result`. | ||||
| 2024-02-12 | check uniqueness of nested fields | Frank King | -1/+1 | |
| 2024-02-12 | Lower anonymous structs or unions to HIR | Frank King | -1/+16 | |
| 2023-12-30 | Update to bitflags 2 in the compiler | Nilstrieb | -2/+4 | |
| This involves lots of breaking changes. There are two big changes that force changes. The first is that the bitflag types now don't automatically implement normal derive traits, so we need to derive them manually. Additionally, bitflags now have a hidden inner type by default, which breaks our custom derives. The bitflags docs recommend using the impl form in these cases, which I did. | ||||
| 2023-12-24 | Remove `Session` methods that duplicate `DiagCtxt` methods. | Nicholas Nethercote | -2/+2 | |
| Also add some `dcx` methods to types that wrap `TyCtxt`, for easier access. | ||||
| 2023-12-02 | Rename `HandlerInner::delay_span_bug` as `HandlerInner::span_delayed_bug`. | Nicholas Nethercote | -1/+1 | |
| Because the corresponding `Level` is `DelayedBug` and `span_delayed_bug` follows the pattern used everywhere else: `span_err`, `span_warning`, etc. | ||||
| 2023-11-21 | Fix `clippy::needless_borrow` in the compiler | Nilstrieb | -2/+2 | |
| `x clippy compiler -Aclippy::all -Wclippy::needless_borrow --fix`. Then I had to remove a few unnecessary parens and muts that were exposed now. | ||||
| 2023-09-26 | Don't store lazyness in DefKind | Michael Goulet | -1/+1 | |
| 2023-09-14 | move required_consts check to general post-mono-check function | Ralf Jung | -2/+2 | |
| 2023-08-07 | Store the laziness of type aliases in the DefKind | León Orell Valerian Liehr | -1/+1 | |
| 2023-08-01 | Fix a comment | Michael Goulet | -10/+2 | |
| 2023-08-01 | Convert adt_sized_constraint to early-binder, use list | Michael Goulet | -2/+2 | |
| 2023-05-29 | EarlyBinder::new -> EarlyBinder::bind | lcnr | -1/+1 | |
| 2023-05-28 | Replace EarlyBinder(x) with EarlyBinder::new(x) | Kyle Matsuda | -1/+1 | |
| 2023-05-19 | Add extra debug assertions for equality for Adt/Variant/FieldDef | Michael Goulet | -3/+21 | |
