| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2021-03-14 | Tweak diagnostics | Camelid | -8/+8 | |
| - Tweak lint message - Display multi-segment paths correctly | ||||
| 2021-03-13 | Add hyphen to "crate level" | Camelid | -2/+2 | |
| "crate level attribute" -> "crate-level attribute" | ||||
| 2021-03-13 | Add another test case | Camelid | -1/+24 | |
| 2021-03-13 | Report error for each invalid nested attribute | Camelid | -1/+12 | |
| 2021-03-13 | Lint non-meta doc attributes | Camelid | -1/+27 | |
| E.g., `#[doc(123)]`. | ||||
| 2021-03-05 | Rollup merge of #82708 - GuillaumeGomez:doc-test-attr-check, r=Manishearth | Guillaume Gomez | -8/+47 | |
| Warn on `#![doc(test(...))]` on items other than the crate root and use future incompatible lint Part of #82672. This PR does multiple things: * Create a new `INVALID_DOC_ATTRIBUTE` lint which is also "future incompatible", allowing us to use it as a warning for the moment until it turns (eventually) into a hard error. * Use this link when `#![doc(test(...))]` isn't used at the crate level. * Make #82702 use this new lint as well. r? ``@jyn514`` | ||||
| 2021-03-05 | Make invalid_doc_attribute lint plural | Guillaume Gomez | -2/+2 | |
| 2021-03-05 | Auto merge of #71481 - estebank:inherit-stability, r=nikomatsakis | bors | -0/+33 | |
| Inherit `#[stable(..)]` annotations in enum variants and fields from its item Lint changes for #65515. The stdlib will have to be updated once this lands in beta and that version is promoted in master. | ||||
| 2021-03-04 | Also use INVALID_DOC_ATTRIBUTE for "unknown doc attribute" warnings | Guillaume Gomez | -8/+10 | |
| 2021-03-04 | Add tests for #[doc(test(...)] check | Guillaume Gomez | -0/+37 | |
| 2021-03-03 | Change error about unknown doc attributes to a warning | Joshua Nelson | -4/+19 | |
| This prevents breakage across the ecosystem, since the error was just introduced recently without first having a warning period. | ||||
| 2021-03-01 | Add tests for doc attribute check | Guillaume Gomez | -0/+19 | |
| 2021-02-11 | Add test for "const stability on macro" | Esteban Küber | -0/+33 | |
| 2021-02-09 | Add attr-on-params test | Ryan Levick | -0/+25 | |
| 2021-02-03 | Handle `Span`s for byte and raw strings and add more detail | Esteban Küber | -2/+5 | |
| 2021-01-24 | parser: Collect tokens for values in key-value attributes | Vadim Petrochenkov | -0/+12 | |
| 2021-01-13 | Update tests for extern block linting | Mark Rousskov | -25/+20 | |
| 2021-01-09 | resolve/expand: Improve attribute expansion on macro definitions and calls | Vadim Petrochenkov | -0/+23 | |
| 2020-12-09 | Accept arbitrary expressions in key-value attributes at parse time | Vadim Petrochenkov | -18/+13 | |
| 2020-11-03 | Expand `NtExpr` tokens only in key-value attributes | Vadim Petrochenkov | -0/+153 | |
| 2020-09-01 | Clarify message about unresolved use | Kornel | -3/+3 | |
| 2020-04-23 | Moving more build-pass tests to check-pass | Val Markovic | -1/+1 | |
| One or two tests became build-pass without the FIXME because they really needed build-pass (were failing without it). Helps with #62277 | ||||
| 2020-03-01 | Use `opt_def_id()` over `def_id()` | Yuki Okushi | -6/+8 | |
| 2020-01-24 | Normalise notes with the/is | varkor | -1/+1 | |
| 2020-01-09 | Update tests | Vadim Petrochenkov | -1/+14 | |
| 2019-12-09 | resolve: Make visibility resolution more speculative | Vadim Petrochenkov | -10/+2 | |
| To avoid potential duplicate diagnostics and separate the error reporting logic | ||||
| 2019-12-09 | resolve: Resolve visibilities on fields with non-builtin attributes | Vadim Petrochenkov | -0/+48 | |
| 2019-11-24 | expand: Fully preserve visibilities on unnamed fields with attributes | Vadim Petrochenkov | -0/+11 | |
| 2019-11-24 | def_collector: Do not forget to save indices of fields with multiple attributes | Vadim Petrochenkov | -0/+11 | |
| 2019-11-09 | Address review comments | Vadim Petrochenkov | -0/+112 | |
| 2019-11-09 | Support registering attributes and attribute tools using crate-level attributes | Vadim Petrochenkov | -0/+74 | |
| 2019-09-26 | hir: Disallow `target_feature` on constants | David Wood | -0/+31 | |
| This commit fixes an ICE when `target_feature` is applied to constants. Signed-off-by: David Wood <david@davidtw.co> | ||||
| 2019-09-15 | resolve: Tweak "cannot find" wording for attributes | Vadim Petrochenkov | -10/+10 | |
| 2019-09-15 | Rollup merge of #64471 - Mark-Simulacrum:warn-depr-attr, r=Centril | Mazdak Farrokhzad | -2/+0 | |
| Warn on no_start, crate_id attribute use These attributes are now deprecated; they don't have any use anymore. `no_start` stopped being applicable in 3ee916e50bd86768cb2a9141f9b2c52d2601b412 as part of #18967. Ideally we would've removed it pre-1.0, but since that didn't happen let's at least mark it deprecated. `crate_id` was renamed to `crate_name` in 50ee1ec1b4f107122d8037ac7b0b312afa6eb0ac as part of #15319. Ideally we would've followed that up with a removal of crate_id itself as well, but that didn't happen; this PR finally marks it as deprecated at least. Fixes https://github.com/rust-lang/rust/issues/43142 and resolves https://github.com/rust-lang/rust/issues/43144. | ||||
| 2019-09-14 | Warn on no_start, crate_id attribute use | Mark Rousskov | -2/+0 | |
| These attributes are now deprecated; they don't have any use anymore. | ||||
| 2019-09-14 | def_collector: Do not ICE on attributes on unnamed fields | Vadim Petrochenkov | -0/+9 | |
| 2019-09-08 | Improve wording. | Charles Lew | -2/+2 | |
| 2019-07-18 | resolve: Use `feature(custom_attribute)` fallback only if the feature is enabled | Vadim Petrochenkov | -30/+18 | |
| Normally `#![feature(...)]` shouldn't change behavior, but custom attributes in particular are in the process of retirement, and we should not produce a message telling to enable them. It also helps with unifying diagnostics for unresolved macros. | ||||
| 2019-07-09 | normalize use of backticks in compiler messages for libsyntax/feature_gate | Samy Kacimi | -5/+5 | |
| https://github.com/rust-lang/rust/issues/60532 | ||||
| 2019-07-05 | Rollup merge of #62133 - petrochenkov:norustc, r=eddyb | Mazdak Farrokhzad | -11/+9 | |
| Feature gate `rustc` attributes harder Fixes https://github.com/rust-lang/rust/issues/62116 | ||||
| 2019-07-03 | Migrate compile-pass annotations to build-pass | Yuki Okushi | -8/+8 | |
| 2019-06-30 | Make sure `#[rustc_doc_only_macro]` and other rustc attributes are registered | Vadim Petrochenkov | -11/+9 | |
| 2019-06-09 | Address review comments | Vadim Petrochenkov | -0/+67 | |
| 2019-06-08 | Move some run-pass attribute tests to ui | Vadim Petrochenkov | -0/+392 | |
