| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2022-12-06 | `rustc_attr` remove `ref` patterns | Maybe Waffle | -65/+69 | |
| ...and some if-let-elses too :P | ||||
| 2022-11-28 | Rename `NestedMetaItem::[Ll]iteral` as `NestedMetaItem::[Ll]it`. | Nicholas Nethercote | -8/+6 | |
| We already use a mix of `Literal` and `Lit`. The latter is better because it is shorter without causing any ambiguity. | ||||
| 2022-11-28 | Rename `ast::Lit` as `ast::MetaItemLit`. | Nicholas Nethercote | -5/+7 | |
| 2022-11-27 | Prefer doc comments over `//`-comments in compiler | Maybe Waffle | -2/+2 | |
| 2022-10-23 | Migrate all diagnostics | Nilstrieb | -47/+43 | |
| 2022-09-26 | remove cfg(bootstrap) | Pietro Albini | -1/+0 | |
| 2022-09-21 | FIX - adopt new Diagnostic naming in newly migrated modules | Jhonny Bill Mena | -2/+1 | |
| FIX - ambiguous Diagnostic link in docs UPDATE - rename diagnostic_items to IntoDiagnostic and AddToDiagnostic [Gardening] FIX - formatting via `x fmt` FIX - rebase conflicts. NOTE: Confirm wheather or not we want to handle TargetDataLayoutErrorsWrapper this way DELETE - unneeded allow attributes in Handler method FIX - broken test FIX - Rebase conflict UPDATE - rename residual _SessionDiagnostic and fix LintDiag link | ||||
| 2022-09-21 | UPDATE - rename SessionSubdiagnostic macro to Subdiagnostic | Jhonny Bill Mena | -2/+2 | |
| Also renames: - sym::AddSubdiagnostic to sym:: Subdiagnostic - rustc_diagnostic_item = "AddSubdiagnostic" to rustc_diagnostic_item = "Subdiagnostic" | ||||
| 2022-09-21 | UPDATE - rename DiagnosticHandler macro to Diagnostic | Jhonny Bill Mena | -30/+30 | |
| 2022-09-21 | UPDATE - rename DiagnosticHandler trait to IntoDiagnostic | Jhonny Bill Mena | -34/+34 | |
| 2022-09-21 | UPDATE - move SessionDiagnostic from rustc_session to rustc_errors | Jhonny Bill Mena | -1/+1 | |
| 2022-09-15 | Only enable the let_else feature on bootstrap | est31 | -1/+1 | |
| On later stages, the feature is already stable. Result of running: rg -l "feature.let_else" compiler/ src/librustdoc/ library/ | xargs sed -s -i "s#\\[feature.let_else#\\[cfg_attr\\(bootstrap, feature\\(let_else\\)#" | ||||
| 2022-09-14 | Also replace the placeholder for the stable_features lint | est31 | -3/+7 | |
| 2022-09-07 | Rollup merge of #101486 - asquared31415:invalid_repr_list, r=estebank | Yuki Okushi | -12/+10 | |
| Add list of recognized repr attributes to the unrecognized repr error | ||||
| 2022-09-06 | add list of recognized repr attributes to the unrecognized repr error | asquared31415 | -12/+10 | |
| 2022-09-05 | UPDATE - accept start_point and snippet instead of SourceMap | Jhonny Bill Mena | -6/+6 | |
| 2022-09-05 | [Gardening] UPDATE - tidy fixes | Jhonny Bill Mena | -2/+7 | |
| 2022-09-05 | UPDATE - avoid exposing source_map methods from Handler | Jhonny Bill Mena | -7/+6 | |
| 2022-09-05 | UPDATE - into_diagnostic to take a Handler instead of a ParseSess | Jhonny Bill Mena | -7/+11 | |
| Suggested by the team in this Zulip Topic https://rust-lang.zulipchat.com/#narrow/stream/336883-i18n/topic/.23100717.20SessionDiagnostic.20on.20Handler Handler already has almost all the capabilities of ParseSess when it comes to diagnostic emission, in this migration we only needed to add the ability to access source_map from the emitter in order to get a Snippet and the start_point. Not sure if this is the best way to address this gap | ||||
| 2022-09-02 | Also replace the version placeholder in rustc_attr | est31 | -0/+12 | |
| This fixes rustdoc not showing the current version as stabilization version for recently stabilized lang features. | ||||
| 2022-08-29 | Revert let_chains stabilization | Nilstrieb | -0/+1 | |
| This reverts commit 326646074940222d602f3683d0559088690830f4. This is the revert against master, the beta revert was already done in #100538. | ||||
| 2022-08-27 | use smaller span for suggestions | Takayuki Maeda | -8/+6 | |
| 2022-08-22 | Move `LitKind` logic to `session_diagnostics` module | Hampus Lidin | -18/+22 | |
| 2022-08-22 | Change to `diag` attributes | Hampus Lidin | -29/+30 | |
| 2022-08-22 | Reorder diagnostics in code order, then alphabetical order | Hampus Lidin | -113/+233 | |
| 2022-08-22 | Refactor remaining diagnostics | Hampus Lidin | -102/+63 | |
| 2022-08-22 | Refactor additional diagnostics in `rustc_attr` | Hampus Lidin | -38/+80 | |
| 2022-08-22 | Add internal diagnistics lints | Hampus Lidin | -0/+2 | |
| 2022-08-22 | Refactor more diagnostics in `rustc_attr` | Hampus Lidin | -48/+21 | |
| 2022-08-22 | Refactor diagnostics in `handle_errors` function | Hampus Lidin | -31/+224 | |
| 2022-08-12 | Adjust cfgs | Mark Rousskov | -1/+0 | |
| 2022-07-31 | Panic when checking an unknown stability attribute | Maybe Waffle | -1/+3 | |
| 2022-07-26 | Implement `#[rustc_default_body_unstable]` | Maybe Waffle | -5/+26 | |
| This attribute allows to mark default body of a trait function as unstable. This means that implementing the trait without implementing the function will require enabling unstable feature. This is useful in conjunction with `#[rustc_must_implement_one_of]`, 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. | ||||
| 2022-07-21 | avoid embedding StabilityLevel::Unstable reason string into metadata ↵ | klensy | -2/+33 | |
| multiple times | ||||
| 2022-07-20 | middle: add `implies_by` to `#[unstable]` | David Wood | -1/+27 | |
| If part of a feature is stabilized and a new feature is added for the remaining parts, then the `implied_by` attribute can be used to indicate which now-stable feature previously contained a item. If the now-stable feature is still active (if the user has only just updated rustc, for example) then there will not be an stability error for uses of the item from the implied feature. Signed-off-by: David Wood <david.wood@huawei.com> | ||||
| 2022-07-20 | attr: fix expected meta-item for `#[stable]` | David Wood | -1/+1 | |
| When an unexpected meta item is provided to `#[stable]`, the diagnostic lists "since" and "note" as expected meta-items, however the surrounding code actually expects "feature" and "since". Signed-off-by: David Wood <david.wood@huawei.com> | ||||
| 2022-07-20 | attr/passes: comment -> doc comment | David Wood | -3/+16 | |
| Change some regular comments into documentation comments. Signed-off-by: David Wood <david.wood@huawei.com> | ||||
| 2022-07-16 | Stabilize `let_chains` | Caio | -1/+1 | |
| 2022-07-14 | Auto merge of #95956 - yaahc:stable-in-unstable, r=cjgillot | bors | -2/+27 | |
| Support unstable moves via stable in unstable items part of https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/moving.20items.20to.20core.20unstably and a blocker of https://github.com/rust-lang/rust/pull/90328. The libs-api team needs the ability to move an already stable item to a new location unstably, in this case for Error in core. Otherwise these changes are insta-stable making them much harder to merge. This PR attempts to solve the problem by checking the stability of path segments as well as the last item in the path itself, which is currently the only thing checked. | ||||
| 2022-07-08 | fixes post rebase | Jane Losare-Lusby | -1/+1 | |
| 2022-07-08 | add opt in attribute for stable-in-unstable items | Jane Lusby | -2/+27 | |
| 2022-07-07 | `UnsafeCell` now has no niches, ever. | Oli Scherer | -5/+3 | |
| 2022-06-14 | Remove `rustc_deprecated` diagnostics | Jacob Pratt | -28/+1 | |
| 2022-06-13 | remove unnecessary `to_string` and `String::new` | Takayuki Maeda | -2/+2 | |
| 2022-05-24 | RFC3239: Implement compact `cfg(target(..))` | Loïc BRANSTETT | -0/+20 | |
| 2022-05-24 | Clean up condition evaluation system | Loïc BRANSTETT | -58/+64 | |
| 2022-05-19 | Add and use stability helper methods | Jacob Pratt | -0/+20 | |
| This avoids an ambiguity (when reading) where `.level.is_stable()` is not immediately clear whether it is general stability or const stability. | ||||
| 2022-05-10 | only_local: always check for misuse | lcnr | -138/+141 | |
| 2022-04-14 | Use native duplicate attribute check | Jacob Pratt | -8/+0 | |
| 2022-04-14 | Error on `#[rustc_deprecated]` | Jacob Pratt | -2/+22 | |
