| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2015-08-30 | Assign correct span to continue expression | Marcus Klaas | -1/+0 | |
| Fixes https://github.com/rust-lang/rust/issues/28105. | ||||
| 2015-08-11 | syntax: fix use of "vector" for [x; n] literal and [x, y] patterns | Georg Brandl | -2/+2 | |
| 2015-08-10 | Auto merge of #27451 - seanmonstar:use-groups-as, r=alexcrichton | bors | -6/+14 | |
| An implementation of [RFC 1219](https://github.com/rust-lang/rfcs/pull/1219). The RFC is not merged yet, but once merged, this could be. | ||||
| 2015-08-08 | rustc: rename multiple imports in a list | Sean McArthur | -6/+14 | |
| 2015-08-04 | Make parser recognize macro invocations in types | Jared Roesch | -2/+15 | |
| Reapplied the changes from https://github.com/freebroccolo/rust/commit/8b07abaa6e8ab42d37656dfad89de0eb5810c3b3 to a clean branch of master | ||||
| 2015-08-01 | Auto merge of #27447 - eefriedman:parser-cleanup, r=alexcrichton | bors | -31/+0 | |
| 2015-07-31 | Fix `impl A .. {}` | Seo Sanghyeon | -1/+1 | |
| 2015-07-30 | Remove unused code in parser. | Eli Friedman | -31/+0 | |
| 2015-07-29 | Replace illegal with invalid in most diagnostics | Simonas Kazlauskas | -17/+17 | |
| 2015-07-28 | Auto merge of #27234 - oli-obk:move_get_name_get_ident_to_impl, r=eddyb | bors | -58/+51 | |
| this has quite some fallout. but also made lots of stuff more readable imo [breaking-change] for plugin authors | ||||
| 2015-07-28 | remove `get_ident` and `get_name`, make `as_str` sound | Oliver Schneider | -58/+51 | |
| 2015-07-27 | Turn on `box(PLACE) expr` deprecation warning post-snapshot. | Eduard Burtescu | -11/+7 | |
| 2015-07-26 | Remove `ast::LocalSource` with only one used variant | mitaa | -2/+1 | |
| `LocalSource` indicated wether a let binding originated from for-loop desugaring to enable specialized error messages, but for-loop expansion has changed and this is now achieved through `MatchSource::ForLoopDesugar`. | ||||
| 2015-07-24 | Auto merge of #27215 - pnkfelix:fsk-placer-take-5-just-in, r=nikomatsakis | bors | -7/+38 | |
| Macro desugaring of `in PLACE { BLOCK }` into "simpler" expressions following the in-development "Placer" protocol. Includes Placer API that one can override to integrate support for `in` into one's own type. (See [RFC 809].) [RFC 809]: https://github.com/rust-lang/rfcs/blob/master/text/0809-box-and-in-for-stdlib.md Part of #22181 Replaced PR #26180. Turns on the `in PLACE { BLOCK }` syntax, while leaving in support for the old `box (PLACE) EXPR` syntax (since we need to support that at least until we have a snapshot with support for `in PLACE { BLOCK }`. (Note that we are not 100% committed to the `in PLACE { BLOCK }` syntax. In particular I still want to play around with some other alternatives. Still, I want to get the fundamental framework for the protocol landed so we can play with implementing it for non `Box` types.) ---- Also, this PR leaves out support for desugaring-based `box EXPR`. We will hopefully land that in the future, but for the short term there are type-inference issues injected by that change that we want to resolve separately. | ||||
| 2015-07-23 | Auto merge of #27203 - marcusklaas:fix-range-span, r=alexcrichton | bors | -4/+5 | |
| Right trims the span for certain range expressions. Closes https://github.com/rust-lang/rust/issues/27162. | ||||
| 2015-07-22 | placate `make tidy`. | Felix S. Klock II | -3/+9 | |
| 2015-07-22 | Added support for parsing `in PLACE { BLOCK_CONTENT }`. | Felix S. Klock II | -8/+33 | |
| 2015-07-21 | Assign proper span to range expression | Marcus Klaas | -4/+5 | |
| 2015-07-21 | Use a span from the correct file for the inner span of a module | Nick Cameron | -12/+24 | |
| This basically only affects modules which are empty (or only contain comments). Closes #26755 | ||||
| 2015-07-18 | Include label in the span of loops | Marcus Klaas | -19/+23 | |
| 2015-07-13 | Auto merge of #26947 - nagisa:unicode-escape-error, r=nrc | bors | -17/+27 | |
| Inspired by the now-mysteriously-closed https://github.com/rust-lang/rust/pull/26782. This PR introduces better error messages when unicode escapes have invalid format (e.g. `\uFFFF`). It also makes rustc always tell the user that escape may not be used in byte-strings and bytes and fixes some spans to not include unecessary characters and include escape backslash in some others. | ||||
| 2015-07-13 | Auto merge of #26750 - nrc:refactor-submod, r=sfackler | bors | -68/+108 | |
| This makes the functionality usable from outside the parser | ||||
| 2015-07-13 | Tell unicode escapes can’t be used as bytes earlier/more | Simonas Kazlauskas | -16/+14 | |
| 2015-07-10 | Change some instances of .connect() to .join() | Wesley Wiser | -2/+2 | |
| 2015-07-10 | Improve some of the string escape diagnostic spans | Simonas Kazlauskas | -6/+4 | |
| 2015-07-10 | Improve incomplete unicode escape reporting | Simonas Kazlauskas | -5/+19 | |
| This improves diagnostic messages when \u escape is used incorrectly and { is missing. Instead of saying “unknown character escape: u”, it will now report that unicode escape sequence is incomplete and suggest what the correct syntax is. | ||||
| 2015-07-09 | Fix a span bug for qualified paths | Nick Cameron | -4/+2 | |
| 2015-07-03 | Refactor how the parser looks for sub-modules | Nick Cameron | -68/+108 | |
| This makes the functionality usable from outside the parser | ||||
| 2015-07-01 | Make the unused_mut lint smarter with respect to locals. | Ariel Ben-Yehuda | -1/+1 | |
| Fixes #26332 | ||||
| 2015-06-22 | fix minor indentation issues | Yongqian Li | -13/+13 | |
| 2015-06-11 | Auto merge of #26190 - Veedrac:no-iter, r=alexcrichton | bors | -5/+5 | |
| Pull request for #26188. | ||||
| 2015-06-10 | Removed many pointless calls to *iter() and iter_mut() | Joshua Landau | -5/+5 | |
| 2015-06-09 | Exise 'unsafe pointer' in favor of 'raw pointer' | Steve Klabnik | -1/+1 | |
| Using two terms for one thing is confusing, these are called 'raw pointers' today. | ||||
| 2015-06-08 | Auto merge of #26091 - chellmuth:pub-struct-field-span, r=nrc | bors | -1/+4 | |
| Issue: #26083 Re-submitting https://github.com/rust-lang/rust/pull/26084 r? @nrc | ||||
| 2015-06-07 | StructField span should include `pub` | Chris Hellmuth | -1/+4 | |
| 2015-06-04 | Fix span for ExprPath variants | Marcus Klaas | -2/+1 | |
| 2015-05-26 | Fix typo. | Nick Hamann | -1/+1 | |
| 2015-05-22 | Two more small fixes. | Niko Matsakis | -0/+1 | |
| 2015-05-21 | Make various fixes: | Niko Matsakis | -27/+41 | |
| - add feature gate - add basic tests - adjust parser to eliminate conflict between `const fn` and associated constants - allow `const fn` in traits/trait-impls, but forbid later in type check - correct some merge conflicts | ||||
| 2015-05-21 | syntax: parse `const fn` for free functions and inherent methods. | Eduard Burtescu | -12/+39 | |
| 2015-05-17 | Auto merge of #25387 - eddyb:syn-file-loader, r=nikomatsakis | bors | -70/+31 | |
| This allows compiling entire crates from memory or preprocessing source files before they are tokenized. Minor API refactoring included, which is a [breaking-change] for libsyntax users: * `ParseSess::{next_node_id, reserve_node_ids}` moved to rustc's `Session` * `new_parse_sess` -> `ParseSess::new` * `new_parse_sess_special_handler` -> `ParseSess::with_span_handler` * `mk_span_handler` -> `SpanHandler::new` * `default_handler` -> `Handler::new` * `mk_handler` -> `Handler::with_emitter` * `string_to_filemap(sess source, path)` -> `sess.codemap().new_filemap(path, source)` | ||||
| 2015-05-16 | Auto merge of #25487 - P1start:extern-crate-unexpected-error, r=huonw | bors | -5/+1 | |
| Closes #25468. | ||||
| 2015-05-16 | Clarify the error message for malformed `extern crate` statements | P1start | -5/+1 | |
| Closes #25468. | ||||
| 2015-05-16 | Fix the spans of `move` closures | P1start | -4/+5 | |
| Closes #24986. | ||||
| 2015-05-15 | Auto merge of #25219 - Eljay:fix-comment-parsing, r=alexcrichton | bors | -24/+39 | |
| Fixes #25182, parser didn't account for \r\n in regular comments, only doc-comments. | ||||
| 2015-05-15 | syntax: Add unquoting ast::{Generics,WhereClause} | Erick Tryzelaar | -0/+8 | |
| 2015-05-14 | Fix stupid mistake from previous commit | Lee Jeffery | -2/+5 | |
| 2015-05-14 | Make BytePos calculation same as original | Lee Jeffery | -1/+2 | |
| 2015-05-14 | syntax: abstract over the file loading mechanism. | Eduard Burtescu | -13/+12 | |
| 2015-05-14 | syntax::parse: optimize file_to_filemap to read a string directly. | Eduard Burtescu | -21/+7 | |
