| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2021-02-07 | expand/resolve: Turn `#[derive]` into a regular macro attribute | Vadim Petrochenkov | -24/+8 | |
| 2020-12-09 | Accept arbitrary expressions in key-value attributes at parse time | Vadim Petrochenkov | -21/+10 | |
| 2020-11-19 | expand: Stop derive expansion un unexpected targets early | Vadim Petrochenkov | -9/+2 | |
| Collect derive placeholders using `collect` instead of `push` | ||||
| 2020-09-08 | Update tests | Guillaume Gomez | -1/+2 | |
| 2020-09-02 | pretty: trim paths of unique symbols | Dan Aloni | -6/+6 | |
| If a symbol name can only be imported from one place for a type, and as long as it was not glob-imported anywhere in the current crate, we can trim its printed path and print only the name. This has wide implications on error messages with types, for example, shortening `std::vec::Vec` to just `Vec`, as long as there is no other `Vec` importable anywhere. This adds a new '-Z trim-diagnostic-paths=false' option to control this feature. On the good path, with no diagnosis printed, we should try to avoid issuing this query, so we need to prevent trimmed_def_paths query on several cases. This change also relies on a previous commit that differentiates between `Debug` and `Display` on various rustc types, where the latter is trimmed and presented to the user and the former is not. | ||||
| 2020-07-27 | mv std libs to library/ | mark | -2/+2 | |
| 2020-04-18 | Do not emit note for projected derived obligations | Esteban Küber | -2/+0 | |
| 2020-04-18 | Maintain chain of derived obligations | Esteban Küber | -0/+12 | |
| When evaluating the derived obligations from super traits, maintain a reference to the original obligation in order to give more actionable context in the output. | ||||
| 2020-04-11 | rustc: Add a warning count upon completion | RoccoDev | -3/+3 | |
| 2020-03-29 | #[link]: mention wasm_import_module instead of cfg | Jonas Schievink | -2/+2 | |
| 2020-02-27 | error_derive_forbidden_on_non_adt: be more graceful | Mazdak Farrokhzad | -0/+36 | |
| 2020-02-06 | rustc_macros: don't limit the -Zmacro-backtrace suggestion to extern macros. | Eduard-Mihai Burtescu | -0/+8 | |
| 2020-01-12 | Add backticks in appropriate places | varkor | -1/+1 | |
| 2019-12-06 | parse_meta: ditch parse_in_attr | Mazdak Farrokhzad | -0/+35 | |
| 2019-12-06 | derive: avoid parse_in_attr | Mazdak Farrokhzad | -9/+26 | |
| 2019-12-06 | cfg_attr: avoid .outer_tokens | Mazdak Farrokhzad | -4/+6 | |
| 2019-12-01 | rustc_plugin: Remove support for plugin arguments | Vadim Petrochenkov | -4/+4 | |
| 2019-11-08 | Rollup merge of #66007 - estebank:remove-here, r=Centril | Mazdak Farrokhzad | -2/+2 | |
| Remove "here" from "expected one of X here" | ||||
| 2019-11-06 | Remove "here" from "expected one of X here" | Esteban Küber | -2/+2 | |
| 2019-11-06 | ill_formed_attribute_input -> deny | Mazdak Farrokhzad | -27/+23 | |
| 2019-11-02 | Update error annotations in tests that successfully compile | Tomasz Miąsko | -9/+19 | |
| Those annotation are silently ignored rather than begin validated against compiler output. Update them before validation is enabled, to avoid test failures. | ||||
| 2019-10-24 | Increase spacing for suggestions in diagnostics | Esteban Küber | -0/+2 | |
| Make the spacing between the code snippet and verbose structured suggestions consistent with note and help messages. | ||||
| 2019-10-17 | Plugins deprecation: don’t suggest simply removing the attribute | Simon Sapin | -6/+6 | |
| Building Servo with a recent Nightly produces: ```rust warning: use of deprecated attribute `plugin`: compiler plugins are deprecated. See https://github.com/rust-lang/rust/issues/29597 --> components/script/lib.rs:14:1 | 14 | #![plugin(script_plugins)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove this attribute | = note: `#[warn(deprecated)]` on by default ``` First, linking to https://github.com/rust-lang/rust/issues/29597 is not ideal since there is pretty much no discussion there of the deprecation and what can be used instead. This PR changes the link to the deprecation PR which does have more discussion. Second, the “remove this attribute” suggestion is rather unhelpful. Just because a feature is deprecated doesn’t mean that simply removing its use without a replacement is acceptable. In the case of custom lint, there is no replacement available. Prefixing a message with “help:” when telling users that they’re screwed honestly feels disrespectful. This PR also changes the message to be more factual. | ||||
| 2019-10-03 | plugin_registrary: use normal deprecation instead of hard coded warning. | Mazdak Farrokhzad | -18/+12 | |
| 2019-10-03 | Deprecate `#![plugin]` and `#[plugin_registrar]`. | Mazdak Farrokhzad | -3/+36 | |
| 2019-08-23 | `--bless` some tests due to message format change. | Mazdak Farrokhzad | -4/+2 | |
| 2019-07-17 | normalize use of backticks in compiler messages for librustc/lint | Samy Kacimi | -1/+1 | |
| https://github.com/rust-lang/rust/issues/60532 | ||||
| 2019-07-03 | Migrate compile-pass annotations to build-pass | Yuki Okushi | -1/+1 | |
| 2019-06-22 | Lint empty 'derive()' as unused attribute. | Mazdak Farrokhzad | -10/+1 | |
| 2019-06-08 | Introduce `#[rustc_dummy]` attribute and use it in tests | Vadim Petrochenkov | -9/+9 | |
| Unlike other built-in attributes, this attribute accepts any input | ||||
| 2019-05-25 | Reword malformed attribute input diagnostics | Esteban Küber | -36/+48 | |
| - Handle empty `cfg_attr` attribute - Reword empty `derive` attribute error - Use consistend error message: "malformed `attrname` attribute input" - Provide suggestions when possible - Move note/help to label/suggestion - Use consistent wording "ill-formed" -> "malformed" - Move diagnostic logic out of parser | ||||
| 2019-05-24 | Revert changes that belong to separate PR | Esteban Küber | -21/+12 | |
| 2019-05-24 | review comments | Esteban Küber | -1/+1 | |
| 2019-05-24 | Tweak macro parse errors when reaching EOF during macro call parse | Esteban Küber | -25/+31 | |
| - Add detail on origin of current parser when reaching EOF and stop saying "found <eof>" and point at the end of macro calls - Handle empty `cfg_attr` attribute - Reword empty `derive` attribute error | ||||
| 2019-05-11 | Move literal parsing code into a separate file | Vadim Petrochenkov | -4/+4 | |
| Remove some dead code | ||||
| 2019-05-11 | Simplify conversions between tokens and semantic literals | Vadim Petrochenkov | -9/+5 | |
| 2019-04-18 | hide `--explain` hint if error has no extended info | Andy Russell | -1/+0 | |
| 2019-04-15 | Preallocate BUILTIN_ATTRIBUTES symbols and use a hash map instead of looping | John Kåre Alsaker | -2/+2 | |
| 2019-03-11 | Update tests | Vadim Petrochenkov | -15/+15 | |
| 2019-02-27 | Mention `unwind(aborts)` in diagnostics for `#[unwind]` | Vadim Petrochenkov | -0/+51 | |
| Simplify input validation for `#[unwind]`, add tests | ||||
| 2019-02-25 | Stabilize `unrestricted_attribute_tokens` | Vadim Petrochenkov | -4/+0 | |
| 2019-02-25 | Restrict value in key-value attributes to literals | Vadim Petrochenkov | -0/+53 | |
| 2019-01-13 | Address review comments | Vadim Petrochenkov | -5/+5 | |
| 2019-01-13 | Implement basic input validation for built-in attributes | Vadim Petrochenkov | -11/+103 | |
| 2018-12-27 | Do not abort compilation if expansion produces errors | Vadim Petrochenkov | -0/+2 | |
| Fix a number of uncovered deficiencies in diagnostics | ||||
| 2018-12-25 | Remove licenses | Mark Rousskov | -47/+7 | |
| 2018-08-14 | Merged migrated compile-fail tests and ui tests. Fixes #46841. | David Wood | -0/+120 | |
