| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-01-11 | Move /src/test to /tests | Albert Larsan | -2013/+0 | |
| 2022-10-13 | fix small word dupe typos | Rageking8 | -1/+1 | |
| 2022-08-27 | use smaller span for suggestions | Takayuki Maeda | -1/+3 | |
| 2022-06-29 | Use verbose help for deprecation suggestion | Chris Denton | -5/+27 | |
| 2022-06-16 | diagnostics: fix trailing space | klensy | -1/+1 | |
| 2022-06-14 | Remove `rustc_deprecated` diagnostics | Jacob Pratt | -34/+0 | |
| 2022-04-14 | Use native duplicate attribute check | Jacob Pratt | -10/+14 | |
| 2022-04-14 | Error on `#[rustc_deprecated]` | Jacob Pratt | -2/+36 | |
| 2022-04-14 | Remove use of `#[rustc_deprecated]` | Jacob Pratt | -1/+1 | |
| 2022-03-15 | Include tracking issue in diagnostic | Jacob Pratt | -1/+1 | |
| 2022-03-09 | Permit `#[deprecated]` in stdlib | Jacob Pratt | -25/+13 | |
| 2022-03-09 | New `deprecated_suggestion` feature, use in tests | Jacob Pratt | -3/+22 | |
| 2022-03-04 | Change `rustc_deprecated` to use `note` | Jacob Pratt | -2/+2 | |
| This keeps `reason` around for the time being. This is necessary to avoid breakage during the bootstrap process. This change, as a whole, brings `#[rustc_deprecated]` more in line with `#[deprecated]`. | ||||
| 2022-03-03 | Gate stability attrs with other attributes. | Camille GILLOT | -2/+0 | |
| 2022-02-24 | don't special case `DefKind::Ctor` in encoding | lcnr | -18/+18 | |
| 2021-11-09 | Auto merge of #87337 - jyn514:lint-error, r=oli-obk,flip1995 | bors | -37/+45 | |
| Don't abort compilation after giving a lint error 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. Closes https://github.com/rust-lang/rust/issues/82761. This is a WIP because I have a feeling it will exit with 0 even if there were lint errors; I don't have a computer that can build rustc locally at the moment. | ||||
| 2021-11-08 | Don't abort compilation after giving a lint error | Joshua Nelson | -37/+45 | |
| 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-11-06 | Move some tests to more reasonable directories | Caio | -0/+40 | |
| 2021-10-24 | Always sort suggestions before emitting them | Esteban Kuber | -4/+4 | |
| 2021-10-15 | Bless tests | Cameron Steffen | -1/+1 | |
| 2021-08-11 | Modify structured suggestion output | Esteban Küber | -3/+3 | |
| * On suggestions that include deletions, use a diff inspired output format * When suggesting addition, use `+` as underline * Color highlight modified span | ||||
| 2021-06-15 | Use last segment | hi-rustin | -3/+2 | |
| 2021-06-15 | shrinking the deprecated method span | hi-rustin | -59/+93 | |
| 2021-06-04 | Added a new test demonstrating the issue requiring revert | Rich Kadel | -0/+18 | |
| Note, the `Debug` impl is required. | ||||
| 2021-06-04 | Revert "shrinking the deprecated method span" | Rich Kadel | -94/+66 | |
| 2021-05-24 | shrinking the deprecated method span | hi-rustin | -66/+94 | |
| 2021-05-12 | Show macro name in 'this error originates in macro' message | Aaron Hill | -2/+2 | |
| When there are multiple macros in use, it can be difficult to tell which one was responsible for producing an error. | ||||
| 2021-05-07 | shrinking the deprecated method span | hi-rustin | -32/+70 | |
| 2021-04-03 | Remove redundant `ignore-tidy-linelength` annotations | Simon Jakobi | -129/+126 | |
| 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-02-10 | Inherit `#[stable(..)]` annotations in enum variants and fields from its item | Esteban Küber | -10/+8 | |
| 2020-12-16 | Allow `since="TBD"` for rustc_deprecated | bstrie | -7/+18 | |
| 2020-11-02 | Improve deprecation attribute diagnostic messages. | Mara Bos | -9/+5 | |
| (From the PR feedback.) Co-authored-by: Esteban Küber <esteban@kuber.com.ar> | ||||
| 2020-11-01 | Add test for #[deprecated] attribute on trait impl block. | Mara Bos | -1/+18 | |
| 2020-11-01 | Use the right span for errors about #[deprecated] attributes. | Mara Bos | -5/+11 | |
| 2020-09-25 | Move from {{closure}}#0 syntax to {closure#0} for (def) path components | marmeladema | -2/+2 | |
| 2020-07-26 | report kind of deprecated item in message | Andy Russell | -309/+309 | |
| This is important for fields, which are incorrectly referred to as "items". | ||||
| 2020-04-23 | Moving more build-pass tests to check-pass | Val Markovic | -2/+2 | |
| One or two tests became build-pass without the FIXME because they really needed build-pass (were failing without it). Helps with #62277 | ||||
| 2020-04-11 | rustc: Add a warning count upon completion | RoccoDev | -0/+8 | |
| 2020-02-06 | rustc_macros: don't limit the -Zmacro-backtrace suggestion to extern macros. | Eduard-Mihai Burtescu | -2/+2 | |
| 2020-02-06 | rustc: rename -Zexternal-macro-backtrace to -Zmacro-backtrace. | Eduard-Mihai Burtescu | -2/+2 | |
| 2020-01-24 | Normalise notes with the/is | varkor | -6/+6 | |
| 2020-01-12 | Fix formatting ellipses at the end of some diagnostics | varkor | -1/+1 | |
| 2020-01-12 | Add backticks in appropriate places | varkor | -8/+6 | |
| 2019-11-15 | find_deprecation: deprecation attr may be ill-formed meta. | Mazdak Farrokhzad | -0/+19 | |
| 2019-11-10 | Make error and warning annotations mandatory in UI tests | Tomasz Miąsko | -0/+1 | |
| This change makes error and warning annotations mandatory in UI tests. The only exception are tests that use error patterns to match compiler output and don't have any annotations. | ||||
| 2019-10-24 | Increase spacing for suggestions in diagnostics | Esteban Küber | -0/+1 | |
| Make the spacing between the code snippet and verbose structured suggestions consistent with note and help messages. | ||||
| 2019-10-11 | test: extend derive_on_deprecated to include more derivations | Dan Aloni | -0/+6 | |
| 2019-10-01 | Update ui tests | Guillaume Gomez | -1/+1 | |
| 2019-09-30 | update ui tests | Guillaume Gomez | -1/+1 | |
| 2019-09-08 | Update test stderr with results of enabling unused lints | Mark Rousskov | -1/+1 | |
