| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2018-04-10 | Auto merge of #49390 - Zoxc:sync-syntax, r=michaelwoerister | bors | -29/+18 | |
| More thread-safety changes r? @michaelwoerister | ||||
| 2018-04-09 | in which `!` is suggested for erroneous identifier `not` | Zack M. Davis | -2/+52 | |
| Impressing confused Python users with magical diagnostics is perhaps worth this not-grossly-unreasonable (only 40ish lines) extra complexity in the parser? Thanks to Vadim Petrochenkov for guidance. This resolves #46836. | ||||
| 2018-04-09 | don't suggest placing code in block if next token is open-brace | Zack M. Davis | -0/+5 | |
| Thanks to the inestimably inimitable Esteban "Estebank" Küber for pointing this out. This is relevant to #46836. | ||||
| 2018-04-06 | Use `Ident` instead of `Name` in `MetaItem` | Vadim Petrochenkov | -5/+4 | |
| 2018-04-06 | Make lifetime nonterminals closer to identifier nonterminals | Vadim Petrochenkov | -42/+42 | |
| 2018-04-06 | Remove more duplicated spans | Vadim Petrochenkov | -33/+24 | |
| 2018-04-06 | Rename `ast::Variant_::name` into `ident` + Fix rebase | Vadim Petrochenkov | -8/+4 | |
| 2018-04-06 | Get rid of `SpannedIdent` | Vadim Petrochenkov | -42/+31 | |
| 2018-04-06 | Rename `PathSegment::identifier` to `ident` | Vadim Petrochenkov | -2/+2 | |
| 2018-04-06 | Use `Span` instead of `SyntaxContext` in `Ident` | Vadim Petrochenkov | -1/+1 | |
| 2018-04-05 | Rollup merge of #49350 - abonander:macros-in-extern, r=petrochenkov | Alex Crichton | -55/+71 | |
| Expand macros in `extern {}` blocks This permits macro and proc-macro and attribute invocations (the latter only with the `proc_macro` feature of course) in `extern {}` blocks, gated behind a new `macros_in_extern` feature. A tracking issue is now open at #49476 closes #48747 | ||||
| 2018-04-03 | expand macro invocations in `extern {}` blocks | Austin Bonander | -55/+71 | |
| 2018-04-03 | Remove all unstable placement features | Aidan Hobson Sayers | -13/+0 | |
| Closes #22181, #27779 | ||||
| 2018-04-02 | Auto merge of #49124 - abonander:attr-macro-stmt-expr, r=abonander | bors | -0/+3 | |
| Expand Attributes on Statements and Expressions This enables attribute-macro expansion on statements and expressions while retaining the `stmt_expr_attributes` feature requirement for attributes on expressions. closes #41475 cc #38356 @petrochenkov @jseyfried r? @nrc | ||||
| 2018-04-02 | Expand attribute macros on statements and expressions. | Austin Bonander | -0/+3 | |
| Retains the `stmt_expr_attributes` feature requirement for attributes on expressions. closes #41475 cc #38356 | ||||
| 2018-04-01 | Auto merge of #49478 - Phlosioneer:fix-windows-file-not-found, r=petrochenkov | bors | -1/+1 | |
| Fix escaped backslash in windows file not found message When a module is declared, but no matching file exists, rustc gives an error like `help: name the file either foo.rs or foo/mod.rs inside the directory "src/bar"`. However, at on windows, the backslash was double-escaped when naming the directory. It did this because the string was printed in debug mode (`"{:?}"`) to surround it with quotes. However, it should just be printed like any other directory in an error message and surrounded by escaped quotes, rather than relying on the debug print to add quotes (`"\"{}\""`). I also checked the test suite to see if this output is being correctly tested. It's not - it only tests up to the word "directory". Presumably this is so that the test is not dependent on its exact position in the source tree. I don't know a better way to test this, unless the test suite supports regex? | ||||
| 2018-03-29 | Fix escaped backslash in windows file not found message | Phlosioneer | -1/+1 | |
| When a module is declared, but no matching file exists, rustc gives an error like 'help: name the file either foo.rs or foo/mod.rs inside the directory "src/bar"'. However, at on windows, the backslash was double-escaped when naming the directory. It did this because the string was printed in debug mode ( "{:?}" ) to surround it with quotes. However, it should just be printed like any other directory in an error message and surrounded by escaped quotes, rather than relying on the debug print to add quotes ( "\"{}\"" ). | ||||
| 2018-03-28 | Make ParseSess thread-safe | John Kåre Alsaker | -14/+12 | |
| 2018-03-28 | Make LazyTokenStream thread-safe | John Kåre Alsaker | -15/+6 | |
| 2018-03-27 | Rollup merge of #49395 - petrochenkov:obsolete, r=alexcrichton | kennytm | -74/+0 | |
| libsyntax: Remove obsolete.rs This little piece of infra is obsolete (ha-ha) and is unlikely to be used in the future, even if new obsolete syntax appears. | ||||
| 2018-03-27 | libsyntax: Remove obsolete.rs | Vadim Petrochenkov | -74/+0 | |
| 2018-03-27 | Fix pretty-printing for raw identifiers | Vadim Petrochenkov | -1/+8 | |
| 2018-03-24 | Better diagnostics for '..' pattern fragment not in the last position | Hidehito Yabuuchi | -1/+7 | |
| 2018-03-23 | Merge branch 'master' of https://github.com/Lymia/rust into rollup | Alex Crichton | -70/+144 | |
| 2018-03-22 | Clean up raw identifier handling when recovering tokens from AST. | Lymia Aluysia | -1/+1 | |
| 2018-03-22 | Rollup merge of #49117 - nivkner:fixme_fixup3, r=estebank | kennytm | -2/+0 | |
| address some FIXME whose associated issues were marked as closed part of #44366 | ||||
| 2018-03-20 | Auto merge of #49190 - kennytm:rollup, r=kennytm | bors | -10/+1 | |
| Rollup of 17 pull requests - Successful merges: #46518, #48810, #48834, #48902, #49004, #49092, #49096, #49099, #49104, #49125, #49139, #49152, #49157, #49161, #49166, #49176, #49184 - Failed merges: | ||||
| 2018-03-20 | Stabilize slice patterns without `..` | Vadim Petrochenkov | -1/+1 | |
| Merge `feature(advanced_slice_patterns)` into `feature(slice_patterns)` | ||||
| 2018-03-20 | Rollup merge of #49104 - csmoe:semicolon_error, r=petrochenkov | kennytm | -10/+1 | |
| improve error message of inner attribute syntax Fixes #49040 | ||||
| 2018-03-18 | Return a is_raw parameter from Token::ident rather than having separate methods. | Lymia Aluysia | -30/+15 | |
| 2018-03-18 | Move raw_identifiers check to the lexer. | Lymia Aluysia | -4/+5 | |
| 2018-03-18 | Feature gate raw identifiers. | Lymia Aluysia | -1/+9 | |
| 2018-03-18 | Initial implementation of RFC 2151, Raw Identifiers | Lymia Aluysia | -73/+153 | |
| 2018-03-18 | Auto merge of #48917 - petrochenkov:import, r=oli-obk | bors | -82/+39 | |
| syntax: Make imports in AST closer to the source and cleanup their parsing This is a continuation of https://github.com/rust-lang/rust/pull/45846 in some sense. | ||||
| 2018-03-17 | Cleanup import parsing | Vadim Petrochenkov | -54/+23 | |
| Fix spans of root segments | ||||
| 2018-03-17 | Rename `Span::empty` to `Span::shrink_to_lo`, add `Span::shrink_to_hi` | Vadim Petrochenkov | -2/+2 | |
| 2018-03-17 | AST: Keep distinction between `path` and `::path` in imports and visibilities | Vadim Petrochenkov | -10/+6 | |
| Add the root segment for name resolution purposes only | ||||
| 2018-03-17 | AST: Make renames in imports closer to the source | Vadim Petrochenkov | -3/+1 | |
| Fix `unused_import_braces` lint false positive on `use prefix::{self as rename}` | ||||
| 2018-03-17 | AST/HIR: Clarify what the optional name in extern crate items mean | Vadim Petrochenkov | -13/+7 | |
| 2018-03-17 | syntax: Make `_` an identifier | Vadim Petrochenkov | -35/+24 | |
| 2018-03-17 | remove FIXME(#8372) since for-loops wont support borrowing iterators | Niv Kaminer | -2/+0 | |
| 2018-03-17 | improve attribute trailing semicolon error | csmoe | -10/+1 | |
| 2018-03-17 | Auto merge of #48904 - Zoxc:code-and-file-maps, r=michaelwoerister | bors | -1/+1 | |
| Make CodeMap and FileMap thread-safe r? @michaelwoerister | ||||
| 2018-03-16 | Auto merge of #49051 - kennytm:rollup, r=kennytm | bors | -1/+5 | |
| Rollup of 17 pull requests - Successful merges: #48706, #48875, #48892, #48922, #48957, #48959, #48961, #48965, #49007, #49024, #49042, #49050, #48853, #48990, #49037, #49049, #48972 - Failed merges: | ||||
| 2018-03-16 | Rollup merge of #48922 - petrochenkov:asunder, r=nikomatsakis | kennytm | -1/+5 | |
| Implement import renaming with `_` (RFC 2166) cc https://github.com/rust-lang/rust/issues/48216 | ||||
| 2018-03-15 | Disallow &a..=b and box a..=b in pattern. | kennytm | -2/+27 | |
| They are disallowed because they have different precedence than expressions. I assume parenthesis in pattern will be soon stabilized and thus write that as suggestion directly. | ||||
| 2018-03-15 | Use a single Lock for CodeMap.stable_id_to_filemap and CodeMap.files | John Kåre Alsaker | -1/+1 | |
| 2018-03-14 | Remove syntax and syntax_pos thread locals | John Kåre Alsaker | -403/+465 | |
| 2018-03-14 | Implement import renaming with `_` (RFC 2166) | Vadim Petrochenkov | -1/+5 | |
| 2018-03-11 | in which some labels and notes are upgraded to structured suggestions | Zack M. Davis | -5/+8 | |
| (Meanwhile, a couple of parse-fail tests are moved to UI tests so that the reader can see the new output, and an existing UI test is given a more evocative name.) | ||||
