| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2022-09-14 | make `mk_attr_id` part of `ParseSess` | SparrowLii | -0/+7 | |
| 2022-09-11 | Only encode RPITIT when trait method has default body | Michael Goulet | -1/+13 | |
| 2022-09-09 | Handle generic parameters. | Camille GILLOT | -3/+0 | |
| 2022-09-09 | Address rebase issues, make async fn in trait work | Michael Goulet | -1/+5 | |
| 2022-09-09 | RPITIT placeholder items | Michael Goulet | -0/+6 | |
| 2022-09-07 | rustc: Parameterize `ty::Visibility` over used ID | Vadim Petrochenkov | -9/+21 | |
| It allows using `LocalDefId` instead of `DefId` when possible, and also encode cheaper `Visibility<DefIndex>` into metadata. | ||||
| 2022-09-05 | Rollup merge of #101391 - matthiaskrgr:perf0309, r=oli-obk | Dylan DPC | -13/+5 | |
| more clippy::perf fixes | ||||
| 2022-09-03 | more clippy::perf fixes | Matthias Krüger | -13/+5 | |
| 2022-09-03 | Do not call object_lifetime_default on lifetime params. | Camille GILLOT | -4/+3 | |
| 2022-09-03 | Rollup merge of #100928 - CleanCut:rustc_metadata_diagnostics, r=davidtwco | Dylan DPC | -3/+4 | |
| Migrate rustc_metadata to SessionDiagnostics Migrate rustc_metadata to SessionDiagnostics. Part of https://github.com/rust-lang/rust/issues/100717 | ||||
| 2022-09-01 | Auto merge of #98960 - cjgillot:entry-kind, r=estebank | bors | -354/+250 | |
| Remove EntryKind from metadata. This PR continues the refactor of metadata emission to be more systematic, iterating on definitions and filtering based on each definition's `DefKind`. This allows to remove the large `EntryKind` enum, replaced by linear tables in metadata. | ||||
| 2022-09-01 | Always import all tracing macros for the entire crate instead of piecemeal ↵ | Oli Scherer | -3/+0 | |
| by module | ||||
| 2022-08-31 | respond to review feedback: mainly eliminate as many conversions as possible... | Nathan Stocks | -3/+3 | |
| - ... when creating diagnostics in rustc_metadata - use the error_code! macro - pass macro output to diag.code() - use fluent from within manual implementation of SessionDiagnostic - emit the untested errors in case they occur in the wild - stop panicking in the probably-not-dead code, add fixme to write test | ||||
| 2022-08-31 | port encoder.rs to SessionDiagnostics | Nathan Stocks | -3/+4 | |
| 2022-08-30 | Handle MIR in a single place. | Camille GILLOT | -17/+19 | |
| 2022-08-30 | Remove fn_has_self_parameter table. | Camille GILLOT | -16/+15 | |
| 2022-08-30 | Separate macro_rules and macro_definition. | Camille GILLOT | -10/+12 | |
| 2022-08-30 | Remove EntryKind. | Camille GILLOT | -148/+32 | |
| 2022-08-30 | Create a module-reexports table. | Camille GILLOT | -18/+11 | |
| 2022-08-30 | Fix the panic message. | Camille GILLOT | -1/+1 | |
| 2022-08-30 | Create a table for fn_has_self_parameter. | Camille GILLOT | -15/+17 | |
| 2022-08-30 | Use tables for macros. | Camille GILLOT | -11/+27 | |
| 2022-08-30 | Move AssocContainer to a metadata table. | Camille GILLOT | -17/+24 | |
| 2022-08-30 | Move VariantData to a metadata table. | Camille GILLOT | -24/+25 | |
| 2022-08-30 | Simplify recursion scheme. | Camille GILLOT | -79/+51 | |
| 2022-08-30 | Encode consts in metadata main loop. | Camille GILLOT | -32/+51 | |
| 2022-08-30 | Encode type in the main loop. | Camille GILLOT | -56/+55 | |
| 2022-08-29 | Rollup merge of #99821 - cjgillot:ast-lifetimes-2, r=compiler-errors | Dylan DPC | -0/+8 | |
| Remove separate indexing of early-bound regions ~Based on https://github.com/rust-lang/rust/pull/99728.~ This PR copies some modifications from https://github.com/rust-lang/rust/pull/97839 around object lifetime defaults. These modifications allow to stop counting generic parameters during lifetime resolution, and rely on the indexing given by `rustc_typeck::collect`. | ||||
| 2022-08-26 | Implementation of import_name_type | Daniel Paoliello | -2/+2 | |
| 2022-08-25 | Auto merge of #100436 - jyn514:macro-query-system, r=cjgillot | bors | -12/+12 | |
| try and simplify some things in the query system | ||||
| 2022-08-23 | get rid of another unnecessary lifetime macro argument | Joshua Nelson | -12/+12 | |
| 2022-08-20 | rmeta/query cache: don't write string values of preinterned symbols | klensy | -11/+23 | |
| 2022-08-19 | Auto merge of #100209 - cjgillot:source-file-index, r=estebank | bors | -211/+194 | |
| Lazily decode SourceFile from metadata Currently, source files from foreign crates are decoded up-front from metadata. Spans from those crates were matched with the corresponding source using binary search among those files. This PR changes the strategy by matching spans to files during encoding. This allows to decode source files on-demand, instead of up-front. The on-disk format for spans becomes: `<tag> <position from start of file> <length> <file index> <crate (if foreign file)>`. | ||||
| 2022-08-15 | cache strings while encoding/decoding to compiler artifacts | klensy | -0/+54 | |
| 2022-08-09 | Rollup merge of #96478 - WaffleLapkin:rustc_default_body_unstable, r=Aaron1011 | Dylan DPC | -0/+15 | |
| Implement `#[rustc_default_body_unstable]` This PR implements a new stability attribute — `#[rustc_default_body_unstable]`. `#[rustc_default_body_unstable]` controls the stability of default bodies in traits. For example: ```rust pub trait Trait { #[rustc_default_body_unstable(feature = "feat", isssue = "none")] fn item() {} } ``` In order to implement `Trait` user needs to either - implement `item` (even though it has a default implementation) - enable `#![feature(feat)]` This is useful in conjunction with [`#[rustc_must_implement_one_of]`](https://github.com/rust-lang/rust/pull/92164), we may want to relax requirements for a trait, for example allowing implementing either of `PartialEq::{eq, ne}`, but do so in a safe way — making implementation of only `PartialEq::ne` unstable. r? `@Aaron1011` cc `@nrc` (iirc you were interested in this wrt `read_buf`), `@danielhenrymantilla` (you were interested in the related `#[rustc_must_implement_one_of]`) P.S. This is my first time working with stability attributes, so I'm not sure if I did everything right 😅 | ||||
| 2022-08-08 | Remove unused parameter. | Camille GILLOT | -1/+0 | |
| 2022-08-07 | Only encode position from start of file. | Camille GILLOT | -23/+21 | |
| 2022-08-06 | Support parallel compiler. | Camille GILLOT | -4/+3 | |
| 2022-08-06 | Simplify encoding a bit. | Camille GILLOT | -34/+35 | |
| 2022-08-06 | Remove unused cache. | Camille GILLOT | -10/+0 | |
| 2022-08-06 | Decode SourceFile out of order. | Camille GILLOT | -149/+154 | |
| 2022-08-06 | Encode index of SourceFile along with span. | Camille GILLOT | -69/+60 | |
| 2022-08-03 | Compute `object_lifetime_default` per parameter. | Camille GILLOT | -0/+8 | |
| 2022-08-01 | Remove trait_of_item query. | Camille GILLOT | -14/+0 | |
| 2022-08-01 | Remove DefId from AssocItemContainer. | Camille GILLOT | -47/+17 | |
| 2022-08-01 | Remove visibility from AssocItem. | Camille GILLOT | -1/+0 | |
| 2022-08-01 | Store associated item defaultness in impl_defaultness. | Camille GILLOT | -43/+13 | |
| 2022-07-29 | Rename local_did to def_id | Miguel Guarniz | -8/+8 | |
| Signed-off-by: Miguel Guarniz <mi9uel9@gmail.com> | ||||
| 2022-07-29 | Change maybe_body_owned_by to take local def id | Miguel Guarniz | -8/+8 | |
| Signed-off-by: Miguel Guarniz <mi9uel9@gmail.com> | ||||
| 2022-07-27 | Update mentions to `rustc_metadata::rmeta::Lazy` | Yuki Okushi | -12/+12 | |
| Signed-off-by: Yuki Okushi <jtitor@2k36.org> | ||||
