| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2025-06-18 | Reduce uses of `hir_crate`. | Camille GILLOT | -2/+1 | |
| 2025-03-12 | Move methods from `Map` to `TyCtxt`, part 4. | Nicholas Nethercote | -1/+1 | |
| Continuing the work from #137350. Removes the unused methods: `expect_variant`, `expect_field`, `expect_foreign_item`. Every method gains a `hir_` prefix. | ||||
| 2025-02-24 | Introduce new-style attribute parsers for several attributes | Jana Dönszelmann | -0/+1 | |
| note: compiler compiles but librustdoc and clippy don't | ||||
| 2025-02-24 | Change span field accesses to method calls | Jana Dönszelmann | -1/+1 | |
| 2025-01-19 | Run `clippy --fix` for `unnecessary_map_or` lint | Yotam Ofek | -1/+1 | |
| 2024-09-22 | Reformat using the new identifier sorting from rustfmt | Michael Goulet | -1/+1 | |
| 2024-09-06 | Check AttrId for expectations. | Camille GILLOT | -51/+39 | |
| 2024-08-31 | Remove attr_id from stable lint ids. | Camille GILLOT | -2/+1 | |
| 2024-08-31 | Rewrite lint_expectations in a single pass. | Camille GILLOT | -4/+50 | |
| 2024-08-21 | Use bool in favor of Option<()> for diagnostics | Michael Goulet | -1/+1 | |
| 2024-07-29 | Reformat `use` declarations. | Nicholas Nethercote | -1/+2 | |
| The previous commit updated `rustfmt.toml` appropriately. This commit is the outcome of running `x fmt --all` with the new formatting options. | ||||
| 2024-06-25 | RFC 2383: Stabilize `lint_reasons` :tada: | xFrednet | -5/+0 | |
| 2024-01-23 | Rename `TyCtxt::emit_spanned_lint` as `TyCtxt::emit_node_span_lint`. | Nicholas Nethercote | -1/+1 | |
| 2023-12-24 | Remove `Session` methods that duplicate `DiagCtxt` methods. | Nicholas Nethercote | -1/+1 | |
| Also add some `dcx` methods to types that wrap `TyCtxt`, for easier access. | ||||
| 2023-12-18 | Rename `Session::span_diagnostic` as `Session::dcx`. | Nicholas Nethercote | -1/+1 | |
| 2023-11-21 | Fix `clippy::needless_borrow` in the compiler | Nilstrieb | -1/+1 | |
| `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-10-16 | Rename `ACTIVE_FEATURES` as `UNSTABLE_FEATURES`. | Nicholas Nethercote | -1/+1 | |
| It's a better name, and lets "active features" refer to the features that are active in a particular program, due to being declared or enabled by the edition. The commit also renames `Features::enabled` as `Features::active` to match this; I changed my mind and have decided that "active" is a little better thatn "enabled" for this, particularly because a number of pre-existing comments use "active" in this way. Finally, the commit renames `Status::Stable` as `Status::Accepted`, to match `ACCEPTED_FEATURES`. | ||||
| 2023-05-15 | Move expansion of query macros in rustc_middle to rustc_middle::query | John Kåre Alsaker | -1/+1 | |
| 2023-01-13 | Auto merge of #106776 - oli-obk:om_nom_nom_nom_nom, r=cjgillot | bors | -1/+1 | |
| Feed a bunch of queries instead of tracking fields on TyCtxt r? `@cjgillot` pulled out of https://github.com/rust-lang/rust/pull/105462 | ||||
| 2023-01-12 | Feed the `features_query` instead of grabbing it from the session lazily | Oli Scherer | -1/+1 | |
| 2023-01-09 | refactor: cleanup | Rejyr | -2/+0 | |
| 2023-01-09 | refactor: refactor to derive for some lints. | Rejyr | -2/+4 | |
| 2023-01-09 | migrate: `expect.rs` | Rejyr | -29/+11 | |
| 2022-10-23 | Migrate all diagnostics | Nilstrieb | -2/+2 | |
| 2022-10-01 | Compute `lint_levels` by definition | Deadbeef | -1/+3 | |
| 2022-10-01 | Refactor rustc lint API | Maybe Waffle | -5/+5 | |
| 2022-09-22 | Revert "Auto merge of #101620 - cjgillot:compute_lint_levels_by_def, r=oli-obk" | Camille GILLOT | -3/+1 | |
| This reverts commit 2cb9a65684dba47c52de8fa938febf97a73e70a9, reversing changes made to 750bd1a7ff3e010611b97ee75d30b7cbf5f3a03c. | ||||
| 2022-09-14 | Compute `lint_levels` by definition | Deadbeef | -1/+3 | |
| 2022-06-30 | lint: port expectation diagnostics | David Wood | -2/+3 | |
| Signed-off-by: David Wood <david.wood@huawei.com> | ||||
| 2022-06-16 | Support lint expectations for `--force-warn` lints (RFC 2383) | xFrednet | -8/+8 | |
| 2022-05-08 | Move lint expectation checking into a separate query (RFC 2383) | xFrednet | -2/+10 | |
| 2022-04-05 | errors: implement fallback diagnostic translation | David Wood | -1/+1 | |
| This commit updates the signatures of all diagnostic functions to accept types that can be converted into a `DiagnosticMessage`. This enables existing diagnostic calls to continue to work as before and Fluent identifiers to be provided. The `SessionDiagnostic` derive just generates normal diagnostic calls, so these APIs had to be modified to accept Fluent identifiers. In addition, loading of the "fallback" Fluent bundle, which contains the built-in English messages, has been implemented. Each diagnostic now has "arguments" which correspond to variables in the Fluent messages (necessary to render a Fluent message) but no API for adding arguments has been added yet. Therefore, diagnostics (that do not require interpolation) can be converted to use Fluent identifiers and will be output as before. | ||||
| 2022-03-07 | Handle `#[expect(unfulfilled_lint_expectations)]` with a lint message | xFrednet | -4/+5 | |
| 2022-03-02 | Use Vec for expectations to have a constant order (RFC-2383) | xFrednet | -3/+1 | |
| 2022-03-02 | Added `panics` for unreachable states for expectations (RFC 2383) | xFrednet | -0/+2 | |
| 2022-03-02 | Emit `unfullfilled_lint_expectation` using a `HirId` for performance (RFC-2383) | xFrednet | -13/+16 | |
| 2022-03-02 | Add UI tests for the `expect` attribute (RFC-2383) | xFrednet | -4/+2 | |
| * Add UI tests with macros for the `expect` attribute (RFC-2383) * Addressed review comments - mostly UI test updates (RFC-2383) * Documented lint level attribute on macro not working bug (RFC-2383) See `rust#87391` | ||||
| 2022-03-02 | Make `LintExpectationId` stable between compilation sessions (RFC-2383) | xFrednet | -1/+1 | |
| 2022-03-02 | Check lint expectations and emit lint if unfulfilled (RFC-2383) | xFrednet | -0/+48 | |
