| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-03-16 | syntax: Do not accidentally treat multi-segment meta-items as single-segment | Vadim Petrochenkov | -3/+8 | |
| 2019-02-13 | Rollup merge of #58273 - taiki-e:rename-dependency, r=matthewjasper | Mazdak Farrokhzad | -2/+2 | |
| 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-12 | Auto merge of #58341 - alexreg:cosmetic-2-doc-comments, r=steveklabnik | bors | -4/+4 | |
| Cosmetic improvements to doc comments This has been factored out from https://github.com/rust-lang/rust/pull/58036 to only include changes to documentation comments (throughout the rustc codebase). r? @steveklabnik Once you're happy with this, maybe we could get it through with r=1, so it doesn't constantly get invalidated? (I'm not sure this will be an issue, but just in case...) Anyway, thanks for your advice so far! | ||||
| 2019-02-13 | Cleanup imports | Taiki Endo | -1/+1 | |
| 2019-02-13 | Rename rustc_errors dependency in rust 2018 crates | Taiki Endo | -2/+2 | |
| 2019-02-11 | Use `Rc<[Symbol]>` instead of `Vec<Symbol>` to reduce # of allocs | Oliver Scherer | -3/+3 | |
| 2019-02-11 | Ease the transition to requiring features by just warning if there's no ↵ | Oliver Scherer | -8/+14 | |
| feature list while we could make this change (it's all unstable after all), there are crates.io crates that use the feature and that the compiler depends upon. We can instead roll out this feature while still supporting the old way. | ||||
| 2019-02-11 | Require a list of features to allow in `allow_internal_unstable` | Oliver Scherer | -1/+12 | |
| 2019-02-10 | rustc: doc comments | Alexander Regueiro | -4/+4 | |
| 2019-02-07 | Make it an incompatibility lint for now | Mark Mansi | -9/+22 | |
| 2019-02-07 | error on duplicate matcher bindings | mark | -5/+49 | |
| 2019-02-07 | libsyntax => 2018 | Taiki Endo | -28/+30 | |
| 2019-01-26 | remove `_with_applicability` from suggestion fns | Andy Russell | -1/+1 | |
| 2019-01-15 | fix nested matchers with ? | mark | -4/+10 | |
| 2019-01-09 | Change `String` to `&'static str` in `ParseResult::Failure`. | Nicholas Nethercote | -1/+1 | |
| This avoids 770,000 allocations when compiling the `html5ever` benchmark, reducing instruction counts by up to 2%. | ||||
| 2018-12-25 | Remove licenses | Mark Rousskov | -10/+0 | |
| 2018-12-07 | Various minor/cosmetic improvements to code | Alexander Regueiro | -6/+6 | |
| 2018-11-27 | Auto merge of #55402 - estebank:macro-eof-2, r=nikomatsakis | bors | -8/+36 | |
| Point at end of macro arm when encountering EOF Fix #52866. | ||||
| 2018-11-23 | Reword EOF in macro arm message | Esteban Küber | -1/+4 | |
| 2018-11-23 | Keep label on moved spans and point at macro invocation on parse error | Esteban Küber | -8/+12 | |
| 2018-11-23 | Point at macro arm when it doesn't expand to an expression | Esteban Küber | -3/+7 | |
| 2018-11-23 | Reword incorrect macro invocation primary label | Esteban Küber | -4/+11 | |
| 2018-11-23 | Add label when replacing primary DUMMY_SP in macro expansion | Esteban Küber | -0/+1 | |
| 2018-11-23 | Point at end of macro arm when encountering EOF | Esteban Küber | -0/+9 | |
| Fix #52866 | ||||
| 2018-11-21 | macro_literal_matcher: fixes per petrochenkov's review | Dan Aloni | -3/+3 | |
| 2018-11-21 | Stabilize macro_literal_matcher | Dan Aloni | -18/+13 | |
| 2018-10-26 | Auto merge of #54929 - csmoe:cfg_lint, r=petrochenkov | bors | -1/+1 | |
| Suggest to remove prefix `b` in cfg attribute lint string Closes #54926 r? @estebank | ||||
| 2018-10-26 | Rollup merge of #55358 - sinkuu:redundant_clone2, r=estebank | kennytm | -2/+1 | |
| Remove redundant clone (2) | ||||
| 2018-10-26 | Rollup merge of #55301 - estebank:macro-allowed, r=petrochenkov | kennytm | -44/+94 | |
| List allowed tokens after macro fragments Fix #34069. | ||||
| 2018-10-26 | Rollup merge of #55298 - estebank:macro-def, r=pnkfelix | kennytm | -7/+18 | |
| Point at macro definition when no rules expect token Fix #35150. | ||||
| 2018-10-26 | Rollup merge of #55292 - estebank:macro-eof, r=pnkfelix | kennytm | -1/+6 | |
| Macro diagnostics tweaks Fix #30128, fix #10951 by adding an appropriate span to the diagnostic. Fix #26288 by suggesting adding semicolon to macro call. | ||||
| 2018-10-26 | Remove redundant clone | Shotaro Yamada | -2/+1 | |
| 2018-10-25 | List allowed tokens after macro fragments | Esteban Küber | -44/+94 | |
| 2018-10-25 | Rollup merge of #54977 - estebank:macro-arg-parse, r=pnkfelix | Pietro Albini | -1/+2 | |
| Accept `Option<Box<$t:ty>>` in macro argument Given the following code, compile successfuly: ``` macro_rules! test { ( fn fun() -> Option<Box<$t:ty>>; ) => { fn fun(x: $t) -> Option<Box<$t>> { Some(Box::new(x)) } } } test! { fn fun() -> Option<Box<i32>>; } ``` Fix #25274. | ||||
| 2018-10-24 | Point to macro def span instead of whole body | Esteban Küber | -1/+1 | |
| 2018-10-23 | Point at macro definition when no rules expect token | Esteban Küber | -7/+18 | |
| 2018-10-23 | Add macro call span when lacking any other span in diagnostic | Esteban Küber | -1/+6 | |
| 2018-10-20 | handle errors based on parse_sess | csmoe | -1/+1 | |
| 2018-10-12 | Add missing lifetime fragment specifier to error message. | Eric Huss | -5/+6 | |
| A very minor issue, `lifetime` was missing from the error list. I left `literal` in the list, even though it is unstable. It looks like it may stabilize soon anyways. | ||||
| 2018-10-10 | Accept `Option<Box<$t:ty>>` in macro argument | Esteban Küber | -1/+2 | |
| Given the following code, compile successfuly: ``` macro_rules! test { ( fn fun() -> Option<Box<$t:ty>>; ) => { fn fun(x: $t) -> Option<Box<$t>> { Some(Box::new(x)) } } } test! { fn fun() -> Option<Box<i32>>; } ``` | ||||
| 2018-09-17 | Whitespace fix again. | Vitaly _Vi Shukela | -4/+4 | |
| 2018-09-17 | Fill in suggestions Applicability according to @estebank | Vitaly _Vi Shukela | -4/+4 | |
| Also fix some formatting along the way. | ||||
| 2018-09-16 | Remove usages of span_suggestion without Applicability | Vitaly _Vi Shukela | -1/+3 | |
| Use Applicability::Unspecified for all of them instead. | ||||
| 2018-09-08 | Track distinct spans for open and close delimiter | David Tolnay | -12/+13 | |
| 2018-08-28 | Use FxHash{Map,Set} instead of the default Hash{Map,Set} everywhere in rustc. | Eduard-Mihai Burtescu | -3/+3 | |
| 2018-08-19 | Stabilize macro_vis_matcher | Jakub Kozlowski | -13/+1 | |
| 2018-08-18 | Use the new Entry::or_default method where possible. | Eduard-Mihai Burtescu | -2/+1 | |
| 2018-08-07 | Suggest comma when missing in macro call | Esteban Küber | -2/+2 | |
| When missing a comma in a macro call, suggest it, regardless of position. When a macro call doesn't match any of the patterns, check if the call's token stream could be missing a comma between two idents, and if so, create a new token stream containing the comma and try to match against the macro patterns. If successful, emit the suggestion. | ||||
| 2018-08-06 | Suggest comma when writing `println!("{}" a);` | Esteban Küber | -1/+26 | |
| 2018-07-23 | make it a migration lint | mark | -0/+2 | |
