| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2018-01-29 | Add -Zapproximate-suggestions | Manish Goregaokar | -4/+18 | |
| 2018-01-29 | Add approximate suggestions for rustfix | Manish Goregaokar | -7/+11 | |
| This adds `span_approximate_suggestion()` that lets you emit a suggestion marked as "approximate" in the JSON output. UI users see no difference. This is for when rustc and clippy wish to emit suggestions which will make sense to the reader (e.g. they may have placeholders like `<type>`) but are not source-applicable, so that rustfix/etc can ignore these. fixes #39254 | ||||
| 2018-01-28 | Auto merge of #47800 - Pulkit07:issue47755, r=sfackler | bors | -3/+1 | |
| don't mention tasks in stability warnings of #[thread_local] #47755 This is a fix for issue #47755. | ||||
| 2018-01-28 | Auto merge of #47767 - estebank:as-suggestion, r=petrochenkov | bors | -0/+1 | |
| Correctly format `extern crate` conflict resolution help Closes #45799. Follow up to @Cldfire's #45820. If the `extern` statement that will have a suggestion ends on a `;`, synthesize a new span that doesn't include it. | ||||
| 2018-01-27 | Make `+` in `impl/dyn Trait` non-associative | Vadim Petrochenkov | -3/+19 | |
| 2018-01-27 | syntax: Permit `+` in return types of function declarations | Vadim Petrochenkov | -6/+6 | |
| `+` is still disallowed in function types and function-like traits | ||||
| 2018-01-27 | syntax: Lower priority of `+` in `impl Trait`/`dyn Trait` | Vadim Petrochenkov | -4/+3 | |
| 2018-01-27 | Fixed infinite loop issues and added some improved logging. | David Wood | -6/+20 | |
| 2018-01-27 | Now handling case where span has same lo and hi. | David Wood | -1/+6 | |
| 2018-01-27 | next_point now handles creating spans over multibyte characters. | David Wood | -5/+9 | |
| 2018-01-27 | Replaced multi-byte character handling in end_point with potentially more ↵ | David Wood | -23/+59 | |
| performant variant. | ||||
| 2018-01-27 | end_point handling multibyte characters correctly. | David Wood | -3/+42 | |
| 2018-01-27 | don't mention tasks in stability warnings of #[thread_local] #47755 | Pulkit Goyal | -3/+1 | |
| This is a fix for issue #47755. | ||||
| 2018-01-26 | Instead of modifying the item's span synthesize it | Esteban Küber | -2/+1 | |
| 2018-01-26 | review comment | Esteban Küber | -6/+4 | |
| 2018-01-26 | Consider all whitespace when preparing span | Esteban Küber | -2/+26 | |
| 2018-01-26 | A few more comments | Mark Mansi | -0/+8 | |
| 2018-01-26 | Still more comments | Mark Mansi | -2/+26 | |
| 2018-01-26 | Added/improved comments | Mark Mansi | -17/+61 | |
| 2018-01-26 | Added lots of comments + minor reorganization | Mark Mansi | -34/+94 | |
| 2018-01-26 | Added a bunch of comments to macro_parser.rs | Mark Mansi | -10/+62 | |
| 2018-01-26 | Run rustfmt on /libsyntax/ext/tt/macro_parser.rs | Mark Mansi | -78/+114 | |
| 2018-01-26 | Merge branch 'no-stderr-sink' of https://github.com/Zoxc/rust into rollup | Alex Crichton | -50/+50 | |
| 2018-01-25 | Correctly format `extern crate` conflict resolution help | Cldfire | -1/+3 | |
| 2018-01-26 | Do not capture stderr in the compiler. Instead just panic silently for fatal ↵ | John Kåre Alsaker | -50/+50 | |
| errors | ||||
| 2018-01-25 | Rollup merge of #47502 - petrochenkov:label, r=eddyb | Alex Crichton | -117/+108 | |
| AST/HIR: Add a separate structure for labels | ||||
| 2018-01-25 | Auto merge of #47006 - bitshifter:stabilize-repr-align, r=eddyb | bors | -13/+17 | |
| Stabilized `#[repr(align(x))]` attribute (RFC 1358) Stabilzed `#[repr(align(x))]` with attr_literal syntax as proposed by @eddyb https://github.com/rust-lang/rust/issues/33626#issuecomment-348467804 | ||||
| 2018-01-23 | Adds support for immovable generators. Move checking of invalid borrows ↵ | John Kåre Alsaker | -15/+62 | |
| across suspension points to borrowck. Fixes #44197, #45259 and #45093. | ||||
| 2018-01-23 | Stabilized `#[repr(align(x))]` attribute (RFC 1358) | Cameron Hart | -13/+17 | |
| 2018-01-22 | AST/HIR: Add a separate structure for labels | Vadim Petrochenkov | -117/+108 | |
| 2018-01-22 | Auto merge of #47158 - rkruppe:repr-transparent, r=eddyb | bors | -1/+12 | |
| Implement repr(transparent) r? @eddyb for the functional changes. The bulk of the PR is error messages and docs, might be good to have a doc person look over those. cc #43036 cc @nox | ||||
| 2018-01-21 | Rollup merge of #47247 - estebank:suggest-cast, r=petrochenkov | Guillaume Gomez | -59/+171 | |
| Suggest casting on numeric type error Re #47168. | ||||
| 2018-01-21 | Fix typos | Mark Mansi | -3/+3 | |
| 2018-01-19 | Add a bunch of doc comments | Mark Mansi | -3/+72 | |
| 2018-01-19 | Run rustfmt and add comments | Mark Mansi | -38/+103 | |
| 2018-01-18 | Rollup merge of #47481 - estebank:unused-args, r=arielb1 | kennytm | -29/+34 | |
| Point at unused arguments for format string Avoid overlapping spans by only pointing at the arguments that are not being used in the argument string. Enable libsyntax to have diagnostics with multiple primary spans by accepting `Into<MultiSpan>` instead of `Span`. Partially addresses #41850. | ||||
| 2018-01-16 | Implement repr(transparent) | Robin Kruppe | -1/+12 | |
| 2018-01-15 | Point at unused arguments for format string | Esteban Küber | -29/+34 | |
| Avoid overlapping spans by only pointing at the arguments that are not being used in the argument string. Enable libsyntax to have diagnostics with multiple primary spans by accepting `Into<MultiSpan>` instead of `Span`. | ||||
| 2018-01-15 | Move `ExprPrecedence` to `libsyntax/util/parser.rs` | Esteban Küber | -135/+127 | |
| 2018-01-15 | Reexport -> re-export in prose and documentation comments | Carol (Nichols || Goulding) | -2/+2 | |
| 2018-01-15 | Reexport -> re-export in error messages | Carol (Nichols || Goulding) | -1/+1 | |
| 2018-01-15 | Use single source of truth for expr precedence | Esteban Küber | -62/+182 | |
| Introduce a new unified type that holds the expression precedence for both AST and HIR nodes. | ||||
| 2018-01-15 | Add error code for unstable feature errors | Guillaume Gomez | -1/+36 | |
| 2018-01-14 | Auto merge of #46455 - petrochenkov:pimpl, r=nikomatsakis | bors | -167/+156 | |
| syntax: Rewrite parsing of impls Properly parse impls for the never type `!` Recover from missing `for` in `impl Trait for Type` Prohibit inherent default impls and default impls of auto traits (https://github.com/rust-lang/rust/issues/37653#issuecomment-348687794, https://github.com/rust-lang/rust/issues/37653#issuecomment-348688785) Change wording in more diagnostics to use "auto traits" Fix some spans in diagnostics Some other minor code cleanups in the parser Disambiguate generics and qualified paths in impls (parse `impl <Type as Trait>::AssocTy { ... }`) Replace the future-compatibility hack from https://github.com/rust-lang/rust/pull/38268 with actually parsing generic parameters Add a test for https://github.com/rust-lang/rust/issues/46438 | ||||
| 2018-01-14 | syntax: Disambiguate generics and qualified paths | Vadim Petrochenkov | -15/+33 | |
| 2018-01-14 | syntax: Rewrite parsing of impls | Vadim Petrochenkov | -154/+125 | |
| Properly parse impls for the never type `!` Recover from missing `for` in `impl Trait for Type` Prohibit inherent default impls and default impls of auto traits Change wording in more diagnostics to use "auto traits" Some minor code cleanups in the parser | ||||
| 2018-01-14 | Auto merge of #47274 - Manishearth:rustdoc-span, r=QuietMisdreavus | bors | -1/+35 | |
| Use correct line offsets for doctests Not yet tested. This doesn't handle char positions. It could if I collected a map of char offsets and lines, but this is a bit more work and requires hooking into the parser much more (unsure if it's possible). r? @QuietMisdreavus (fixes #45868) | ||||
| 2018-01-13 | Auto merge of #47416 - petrochenkov:remove-impl-for-dot-dot, r=petrochenkov | bors | -80/+39 | |
| Remove `impl Foo for .. {}` in favor `auto trait Foo {}` Rebase of https://github.com/rust-lang/rust/pull/46480 with restored parsing support. | ||||
| 2018-01-13 | Re-add support for `impl Trait for ..` to the parser | Vadim Petrochenkov | -1/+5 | |
| 2018-01-13 | Address review. | leonardo.yvens | -4/+4 | |
