| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-12-13 | Require stable/unstable annotations for the constness of all stable ↵ | Oliver Scherer | -62/+63 | |
| functions with a `const` modifier | ||||
| 2019-11-30 | move GateIssue to rustc_feature & simplify emit_feature_err | Mazdak Farrokhzad | -2/+2 | |
| 2019-11-30 | builtin_attrs.rs -> rustc_feature | Mazdak Farrokhzad | -6/+3 | |
| 2019-11-30 | move is_builtin_attr to syntax::attr | Mazdak Farrokhzad | -0/+6 | |
| 2019-11-30 | simplify gated cfgs logic | Mazdak Farrokhzad | -7/+17 | |
| 2019-11-30 | move AttributeTemplate to builtin_attrs | Mazdak Farrokhzad | -25/+0 | |
| 2019-11-30 | introduce crate rustc_feature and move active, accepted, and removed to it | Mazdak Farrokhzad | -1/+2 | |
| 2019-11-17 | Remove extern crate. | Camille GILLOT | -0/+1 | |
| 2019-11-17 | Further HashStable_Generic derives. | Camille GILLOT | -4/+7 | |
| 2019-11-17 | Use proc_macro for HashStable derive in libsyntax. | Camille GILLOT | -1/+1 | |
| 2019-11-17 | Rollup merge of #66381 - Centril:66340, r=petrochenkov | Yuki Okushi | -1/+4 | |
| find_deprecation: deprecation attr may be ill-formed meta. Fixes #66340. r? @petrochenkov cc @pnkfelix | ||||
| 2019-11-15 | find_deprecation: deprecation attr may be ill-formed meta. | Mazdak Farrokhzad | -1/+4 | |
| 2019-11-14 | Update to use new librustc_error_codes library | Guillaume Gomez | -0/+2 | |
| 2019-11-11 | support issue = "none" in unstable attributes | Ross MacArthur | -10/+21 | |
| - Use `Option<NonZeroU32>` to represent issue numbers. | ||||
| 2019-11-10 | move syntax::parse -> librustc_parse | Mazdak Farrokhzad | -3/+3 | |
| also move MACRO_ARGUMENTS -> librustc_parse | ||||
| 2019-11-09 | move attr meta grammar to parse::validate_atr + ast_validation | Mazdak Farrokhzad | -68/+1 | |
| 2019-11-06 | Make doc comments cheaper with `AttrKind`. | Nicholas Nethercote | -4/+4 | |
| `AttrKind` is a new type with two variants, `Normal` and `DocComment`. It's a big performance win (over 10% in some cases) because `DocComment` lets doc comments (which are common) be represented very cheaply. `Attribute` gets some new helper methods to ease the transition: - `has_name()`: check if the attribute name matches a single `Symbol`; for `DocComment` variants it succeeds if the symbol is `sym::doc`. - `is_doc_comment()`: check if it has a `DocComment` kind. - `{get,unwrap}_normal_item()`: extract the item from a `Normal` variant; panic otherwise. Fixes #60935. | ||||
| 2019-11-06 | Remove unnecessary `Deref` impl for `Attribute`. | Nicholas Nethercote | -4/+4 | |
| This kind of thing just makes the code harder to read. | ||||
| 2019-10-21 | Remove many unnecessary trait derivations. | Nicholas Nethercote | -5/+4 | |
| 2019-10-16 | attr: remove dep on ExtCtxt | Mazdak Farrokhzad | -9/+5 | |
| 2019-10-15 | syntax::parse::sess -> syntax::sess | Mazdak Farrokhzad | -1/+1 | |
| 2019-10-13 | ast: remove implicit pprust dependency via Display. | Mazdak Farrokhzad | -9/+25 | |
| Instead just use `pprust::path_to_string(..)` where needed. This has two benefits: a) The AST definition is now independent of printing it. (Therefore we get closer to extracting a data-crate.) b) Debugging should be easier as program flow is clearer. | ||||
| 2019-09-26 | Rename `MetaItem.node` to `MetaItem.kind` | varkor | -7/+7 | |
| 2019-09-26 | Rename `Lit.node` to `Lit.kind` | varkor | -7/+7 | |
| 2019-09-07 | Support "soft" feature-gating using a lint | Vadim Petrochenkov | -16/+12 | |
| Use it for feature-gating `#[bench]` | ||||
| 2019-07-31 | Replace AstBuilder with inherent methods | Mark Rousskov | -1/+0 | |
| 2019-07-31 | Remove Span argument from ExtCtxt::attribute | Mark Rousskov | -1/+1 | |
| MetaItem.span was always equivalent | ||||
| 2019-07-24 | Demote template check error to a lint for `#[test]` and `#[bench]` | Vadim Petrochenkov | -1/+2 | |
| 2019-07-24 | syntax_ext: Reuse built-in attribute template checking for macro attributes | Vadim Petrochenkov | -0/+96 | |
| 2019-07-07 | syntax: Migrate built-in macros to the regular stability checking | Vadim Petrochenkov | -0/+13 | |
| 2019-07-07 | syntax: Keep full `Stability` in `SyntaxExtension` | Vadim Petrochenkov | -1/+2 | |
| 2019-07-06 | privacy: Only opaque macros leak private things | Vadim Petrochenkov | -0/+33 | |
| 2019-05-31 | Remove GlobalArenas and use Arena instead | John Kåre Alsaker | -3/+3 | |
| 2019-05-25 | Reword malformed attribute input diagnostics | Esteban Küber | -1/+9 | |
| - 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-13 | Return a `Symbol` from `name_or_empty` functions. | Nicholas Nethercote | -42/+39 | |
| 2019-05-13 | Remove the equality operation between `Symbol` and strings. | Nicholas Nethercote | -11/+11 | |
| And also the equality between `Path` and strings, because `Path` is made up of `Symbol`s. | ||||
| 2019-05-13 | Pass a `Symbol` to `check_name`, `emit_feature_err`, and related functions. | Nicholas Nethercote | -9/+9 | |
| 2019-04-23 | Add rustc_allow_const_fn_ptr | Taylor Cramer | -4/+14 | |
| 2019-03-17 | Make meta-item API compatible with `LocalInternedString::get` soundness fix | Vadim Petrochenkov | -23/+23 | |
| 2019-03-16 | Refactor away `NestedMetaItemKind` | Vadim Petrochenkov | -28/+28 | |
| Remove methods `Attribute::span` and `MetaItem::span` duplicating public fields | ||||
| 2019-03-16 | Rename `MetaItem::ident` to `MetaItem::path` | Vadim Petrochenkov | -9/+9 | |
| 2019-03-16 | syntax: Do not accidentally treat multi-segment meta-items as single-segment | Vadim Petrochenkov | -48/+46 | |
| 2019-02-27 | Mention `unwind(aborts)` in diagnostics for `#[unwind]` | Vadim Petrochenkov | -31/+17 | |
| Simplify input validation for `#[unwind]`, add tests | ||||
| 2019-02-13 | Rollup merge of #58273 - taiki-e:rename-dependency, r=matthewjasper | Mazdak Farrokhzad | -1/+1 | |
| Rename rustc_errors dependency in rust 2018 crates I think this is a better solution than `use rustc_errors as errors` in `lib.rs` and `use crate::errors` in modules. Related: rust-lang/cargo#5653 cc #58099 r? @Centril | ||||
| 2019-02-13 | Rollup merge of #58166 - euclio:deprecation-shorthand, r=petrochenkov | Mazdak Farrokhzad | -60/+65 | |
| allow shorthand syntax for deprecation reason Fixes #48271. Created based on discussion in #56896. | ||||
| 2019-02-13 | Cleanup imports | Taiki Endo | -1/+1 | |
| 2019-02-13 | Rename rustc_errors dependency in rust 2018 crates | Taiki Endo | -1/+1 | |
| 2019-02-10 | rustc: doc comments | Alexander Regueiro | -3/+3 | |
| 2019-02-07 | libsyntax => 2018 | Taiki Endo | -8/+9 | |
| 2019-02-05 | allow shorthand syntax for deprecation reason | Andy Russell | -60/+65 | |
