| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2022-02-24 | don't special case `DefKind::Ctor` in encoding | lcnr | -8/+8 | |
| 2022-02-03 | Add missing const stability attributes | Jacob Pratt | -7/+9 | |
| 2022-02-03 | Require const stability on all stable const items | Jacob Pratt | -9/+27 | |
| This was supposed to be the case previously, but a missed method call meant that trait impls were not checked. | ||||
| 2022-01-12 | Bless tests. | Camille GILLOT | -105/+129 | |
| 2021-11-23 | Rollup merge of #90856 - ↵ | Matthias Krüger | -0/+58 | |
| ken-matsui:suggestion-to-wrap-vec-allocator-api-in-tuple, r=davidtwco Suggestion to wrap inner types using 'allocator_api' in tuple This PR provides a suggestion to wrap the inner types in tuple when being along with 'allocator_api'. Closes https://github.com/rust-lang/rust/issues/83250 ```rust fn main() { let _vec: Vec<u8, _> = vec![]; //~ ERROR use of unstable library feature 'allocator_api' } ``` ```diff error[E0658]: use of unstable library feature 'allocator_api' --> $DIR/suggest-vec-allocator-api.rs:2:23 | LL | let _vec: Vec<u8, _> = vec![]; - | ^ + | ----^ + | | + | help: consider wrapping the inner types in tuple: `(u8, _)` | = note: see issue #32838 <https://github.com/rust-lang/rust/issues/32838> for more information = help: add `#![feature(allocator_api)]` to the crate attributes to enable ``` | ||||
| 2021-11-24 | Suggestion to wrap inner types using `allocator_api` in tuple | Ken Matsui | -0/+58 | |
| 2021-11-18 | Move some tests to more reasonable directories | Caio | -0/+19 | |
| 2021-11-08 | Don't abort compilation after giving a lint error | Joshua Nelson | -11/+24 | |
| The only reason to use `abort_if_errors` is when the program is so broken that either: 1. later passes get confused and ICE 2. any diagnostics from later passes would be noise This is never the case for lints, because the compiler has to be able to deal with `allow`-ed lints. So it can continue to lint and compile even if there are lint errors. | ||||
| 2021-07-26 | Add long explanation for E0544. | Chris Midgley | -1/+1 | |
| 2021-06-15 | Use last segment | hi-rustin | -18/+18 | |
| 2021-06-15 | shrinking the deprecated method span | hi-rustin | -8/+8 | |
| 2021-06-04 | Revert "shrinking the deprecated method span" | Rich Kadel | -8/+8 | |
| 2021-05-24 | shrinking the deprecated method span | hi-rustin | -8/+8 | |
| 2021-05-09 | remove const_fn feature gate | Ralf Jung | -1/+1 | |
| 2021-04-03 | Remove redundant `ignore-tidy-linelength` annotations | Simon Jakobi | -74/+72 | |
| This is step 2 towards fixing #77548. In the codegen and codegen-units test suites, the `//` comment markers were kept in order not to affect any source locations. This is because these tests cannot be automatically `--bless`ed. | ||||
| 2021-03-15 | More precise spans for HIR paths | Vadim Petrochenkov | -4/+4 | |
| 2021-03-05 | Auto merge of #71481 - estebank:inherit-stability, r=nikomatsakis | bors | -21/+23 | |
| 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-02-18 | Add long explanation for E0549 | Jesus Rubio | -1/+1 | |
| 2021-02-17 | Add long explanation for E0543 | Jesus Rubio | -1/+1 | |
| 2021-02-15 | Add long explanation for E0545 | Jesus Rubio | -1/+1 | |
| 2021-02-10 | Tweak stability attribute diagnostic output | Esteban Küber | -8/+14 | |
| 2021-02-10 | Inherit `#[stable(..)]` annotations in enum variants and fields from its item | Esteban Küber | -17/+13 | |
| 2021-02-08 | Add long explanation for E0547 | Jesus Rubio | -1/+1 | |
| 2021-02-06 | Add long error explanation for E0542 | Jesus Rubio | -1/+1 | |
| 2021-01-15 | Don't mark `ineffective_unstable_trait_impl` as an internal lint | Joshua Nelson | -2/+2 | |
| It's not an internal lint: - It's not in the rustc::internal lint group - It's on unconditionally, because it actually lints `staged_api`, not the compiler This fixes a bug where `#[deny(rustc::internal)]` would warn that `rustc::internal` was an unknown lint. | ||||
| 2020-12-16 | Allow `since="TBD"` for rustc_deprecated | bstrie | -4/+14 | |
| 2020-12-07 | Move some tests to subdirectories | Vadim Petrochenkov | -0/+234 | |
| 2020-12-02 | bless stability-attribute-sanity ui test | Daiki Ihara | -1/+1 | |
| 2020-11-02 | Improve deprecation attribute diagnostic messages. | Mara Bos | -6/+2 | |
| (From the PR feedback.) Co-authored-by: Esteban Küber <esteban@kuber.com.ar> | ||||
| 2020-11-01 | Use the right span for errors about #[deprecated] attributes. | Mara Bos | -9/+15 | |
| 2020-09-27 | Rollup merge of #77203 - ecstatic-morse:const-stability-attr-checks, r=oli-obk | Jonas Schievink | -0/+20 | |
| Check for missing const-stability attributes in `rustc_passes` Currently, this happens as a side effect of `is_min_const_fn`, which is non-obvious. Also adds a test for this case, since we didn't seem to have one before. | ||||
| 2020-09-25 | Test for missing const-stability attributes | Dylan MacKenzie | -0/+20 | |
| 2020-09-23 | Add enum and type alias tests for generic default stability | Jacob Hughes | -2/+540 | |
| 2020-09-22 | Fix compilation & test failures | Jacob Hughes | -32/+32 | |
| 2020-09-22 | Test removing unstable default parameter | Avi Dessauer | -0/+14 | |
| 2020-09-22 | Test unstable Alloc param on Box | Avi Dessauer | -2/+50 | |
| 2020-09-22 | Add unstable default feature enabled test | Avi Dessauer | -28/+38 | |
| 2020-09-22 | Add test case demonstrating leak | Avi Dessauer | -22/+24 | |
| 2020-09-22 | Test stability on default parameter of deprecated | Avi Dessauer | -1/+170 | |
| 2020-09-22 | Add more tests | Avi Dessauer | -1/+73 | |
| 2020-09-22 | Fix tests | Avi Dessauer | -6/+6 | |
| 2020-09-22 | Unstable default types leak in public fields | Avi Dessauer | -7/+11 | |
| 2020-09-22 | Comment out broken tests | Avi Dessauer | -9/+33 | |
| 2020-09-22 | Uncomment struct tests | Avi Dessauer | -27/+27 | |
| 2020-09-22 | ignore-tidy-linelength generic default stab test | Avi Dessauer | -0/+1 | |
| Co-authored-by: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> | ||||
| 2020-09-22 | Stability annotations on generic trait parameters | Avi Dessauer | -0/+127 | |
| 2020-09-11 | Improve `ineffective_unstable_trait_impl` error message. | Mara Bos | -2/+3 | |
| 2020-09-11 | Add test for unstable trait impl lint. | Mara Bos | -0/+38 | |
| 2020-07-20 | Parse rustc_deprecated as deprecated attribute | Mark Rousskov | -3/+3 | |
| 2020-05-02 | Add long error explanation for E0539 | unexge | -1/+2 | |
