| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-03-17 | Make meta-item API compatible with `LocalInternedString::get` soundness fix | Vadim Petrochenkov | -38/+38 | |
| 2019-03-16 | Simplify check | Esteban Küber | -5/+1 | |
| 2019-03-16 | parse full visibility when recovering | Esteban Küber | -5/+9 | |
| 2019-03-16 | Recover from incorrect `pub` kw in "reasonable" places | Esteban Küber | -1/+13 | |
| 2019-03-16 | Recover from missing comma between enum variants | Esteban Küber | -2/+20 | |
| 2019-03-16 | Fix rebase | Vadim Petrochenkov | -2/+0 | |
| 2019-03-16 | Refactor away `NestedMetaItemKind` | Vadim Petrochenkov | -94/+77 | |
| Remove methods `Attribute::span` and `MetaItem::span` duplicating public fields | ||||
| 2019-03-16 | Rename `MetaItem::ident` to `MetaItem::path` | Vadim Petrochenkov | -37/+36 | |
| 2019-03-16 | syntax: Introduce `Ident::can_be_raw` | Vadim Petrochenkov | -11/+5 | |
| 2019-03-16 | syntax_ext: Validate `#[proc_macro_derive]` input better | Vadim Petrochenkov | -2/+2 | |
| Tweak some error wording | ||||
| 2019-03-16 | syntax: Do not accidentally treat multi-segment meta-items as single-segment | Vadim Petrochenkov | -111/+109 | |
| 2019-03-16 | Rollup merge of #59169 - tmandry:allow-features-flag, r=cramertj | kennytm | -4/+28 | |
| Add `-Z allow_features=...` flag Adds a compiler option to allow only whitelisted features. For projects on nightly that want to prevent feature-creep (and maybe, someday, move off of nightly). Not being able to enforce this has been a problem on Fuchsia and at other big companies. This doesn't support filtering edition feature flags, but someone is welcome to add that if they need it. | ||||
| 2019-03-16 | Rollup merge of #59079 - euclio:macro-semi, r=estebank | kennytm | -20/+25 | |
| add suggestions to invalid macro item error r? @estebank | ||||
| 2019-03-15 | rustc: rename item_path to def_path (except the module in ty). | Eduard-Mihai Burtescu | -1/+1 | |
| 2019-03-14 | Do not complain about unmentioned fields in recovered patterns | Esteban Küber | -1/+1 | |
| When the parser has to recover from malformed code in a pattern, do not complain about missing fields. | ||||
| 2019-03-14 | Add `-Z allow_features=...` flag | Tyler Mandry | -4/+28 | |
| 2019-03-13 | add suggestions to invalid macro item error | Andy Russell | -20/+25 | |
| 2019-03-13 | Fix operator precedence | Esteban Küber | -2/+2 | |
| 2019-03-13 | Rollup merge of #58876 - estebank:numeric-lifetime, r=petrochenkov | Mazdak Farrokhzad | -3/+15 | |
| Parse lifetimes that start with a number and give specific error Fix #58786. | ||||
| 2019-03-12 | Address review comments | Vadim Petrochenkov | -2/+6 | |
| 2019-03-12 | syntax: Optimize `maybe_whole`/`maybe_whole_expr` slightly | Vadim Petrochenkov | -14/+14 | |
| 2019-03-12 | syntax: Better recovery for `$ty::AssocItem` and `ty!()::AssocItem` | Vadim Petrochenkov | -73/+63 | |
| 2019-03-11 | Be more discerning on when to attempt suggesting a comma in a macro invocation | Esteban Küber | -3/+5 | |
| 2019-03-11 | Auto merge of #58021 - ishitatsuyuki:57667-fix, r=RalfJung | bors | -33/+6 | |
| Fix fallout from #57667 | ||||
| 2019-03-09 | review comments | Esteban Küber | -4/+4 | |
| 2019-03-09 | Rollup merge of #59045 - topecongiro:expose-new_sub_parser_from_file, r=Centril | Mazdak Farrokhzad | -1/+1 | |
| Expose new_sub_parser_from_file This function is useful when external tools like rustfmt want to parse internal files without parsing a whole crate. cc https://github.com/rust-lang/rustfmt/issues/3427. | ||||
| 2019-03-09 | Rollup merge of #58762 - petrochenkov:unwind, r=Mark-Simulacrum | Mazdak Farrokhzad | -32/+18 | |
| Mention `unwind(aborts)` in diagnostics for `#[unwind]` Simplify input validation for `#[unwind]`, add tests cc https://github.com/rust-lang/rust/issues/58760 r? @Mark-Simulacrum | ||||
| 2019-03-09 | Expose new_sub_parser_from_file | topecongiro | -1/+1 | |
| This function is useful when external tools like rustfmt want to parse internal files without parsing a whole crate. | ||||
| 2019-03-09 | Fix fallout from #57667 | ishitatsuyuki | -33/+6 | |
| 2019-03-09 | fixes rust-lang#56766 | Saleem Jaffer | -0/+16 | |
| 2019-03-09 | Auto merge of #59012 - pietroalbini:rollup, r=pietroalbini | bors | -29/+33 | |
| Rollup of 24 pull requests Successful merges: - #58080 (Add FreeBSD armv6 and armv7 targets) - #58204 (On return type `impl Trait` for block with no expr point at last semi) - #58269 (Add librustc and libsyntax to rust-src distribution.) - #58369 (Make the Entry API of HashMap<K, V> Sync and Send) - #58861 (Expand where negative supertrait specific error is shown) - #58877 (Suggest removal of `&` when borrowing macro and appropriate) - #58883 (Suggest appropriate code for unused field when destructuring pattern) - #58891 (Remove stray ` in the docs for the FromIterator implementation for Option) - #58893 (race condition in thread local storage example) - #58906 (Monomorphize generator field types for debuginfo) - #58911 (Regression test for #58435.) - #58912 (Regression test for #58813) - #58916 (Fix release note problems noticed after merging.) - #58918 (Regression test added for an async ICE.) - #58921 (Add an explicit test for issue #50582) - #58926 (Make the lifetime parameters of tcx consistent.) - #58931 (Elide invalid method receiver error when it contains TyErr) - #58940 (Remove JSBackend from config.toml) - #58950 (Add self to mailmap) - #58961 (On incorrect cfg literal/identifier, point at the right span) - #58963 (libstd: implement Error::source for io::Error) - #58970 (delay_span_bug in wfcheck's ty.lift_to_tcx unwrap) - #58984 (Teach `-Z treat-err-as-bug` to take a number of errors to emit) - #59007 (Add a test for invalid const arguments) Failed merges: - #58959 (Add release notes for PR #56243) r? @ghost | ||||
| 2019-03-08 | Parse lifetimes that start with a number and give specific error | Esteban Küber | -6/+18 | |
| 2019-03-08 | Rollup merge of #58984 - estebank:multi-treat-err-as-bug, r=oli-obk | Pietro Albini | -3/+3 | |
| Teach `-Z treat-err-as-bug` to take a number of errors to emit `-Z treat-err-as-bug` will cause `rustc` to panic after the first error is reported, like previously. `-Z treat-err-as-bug=2` will cause `rustc` to panic after 2 errors have been reported. Fix #58983. | ||||
| 2019-03-08 | Rollup merge of #58961 - estebank:issue-58462, r=varkor | Pietro Albini | -2/+2 | |
| On incorrect cfg literal/identifier, point at the right span CC #58462 | ||||
| 2019-03-08 | Rollup merge of #58861 - estebank:fix-negative-traits, r=petrochenkov | Pietro Albini | -24/+28 | |
| Expand where negative supertrait specific error is shown Fix #58857. r? @petrochenkov | ||||
| 2019-03-08 | Improve recovery for missing trait in a trait impl | Vadim Petrochenkov | -11/+11 | |
| 2019-03-07 | Adds diagnostic message and UI test. | Wesley Norris | -1/+9 | |
| 2019-03-07 | Fix with_emitter callers | Esteban Küber | -2/+2 | |
| 2019-03-06 | Make `-Z treat-err-as-bug` take a number of errors to be emitted | Esteban Küber | -1/+1 | |
| `-Z treat-err-as-bug=0` will cause `rustc` to panic after the first error is reported. `-Z treat-err-as-bug=2` will cause `rustc` to panic after 3 errors have been reported. | ||||
| 2019-03-06 | Rely on drop to emit unclosed delims | Esteban Küber | -1/+0 | |
| 2019-03-06 | Simplify code | Esteban Küber | -24/+14 | |
| 2019-03-06 | Always emit mismatched delim errors, never panic | Esteban Küber | -3/+2 | |
| 2019-03-06 | Collect unclosed delimiters in parent parser | Esteban Küber | -4/+13 | |
| 2019-03-06 | Emit missing unclosed delimiter errors | Esteban Küber | -11/+15 | |
| 2019-03-06 | Panic when unmatched delimiters aren't emitted | Esteban Küber | -1/+8 | |
| 2019-03-06 | Emit unclosed delimiters during recovery | Esteban Küber | -0/+1 | |
| 2019-03-06 | Bail when encountering a second unexpected token in the same span | Esteban Küber | -4/+10 | |
| 2019-03-06 | Do not panic on missing close paren | Esteban Küber | -1/+3 | |
| Fix #58856. | ||||
| 2019-03-06 | Surround found token with ` | Esteban Küber | -1/+1 | |
| 2019-03-05 | On incorrect cfg literal/identifier, point at the right span | Esteban Küber | -1/+1 | |
