| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2017-12-13 | Improve interaction between macros 2.0 and `macro_rules!`. | Jeffrey Seyfried | -0/+39 | |
| 2017-12-12 | Refactor `MarkData` field `modern: bool` to `kind: MarkKind`. | Jeffrey Seyfried | -14/+28 | |
| 2017-12-07 | Auto merge of #46497 - AgustinCB:issue-46311, r=petrochenkov | bors | -0/+10 | |
| Modify message for keyword as identifier name This is a temporary solution to #46311. The message is generic enough to cover both cases and is probably a fine enough solution to the specific problem described in the task. However, the underlying reason for this to be wrong is that `next_token_inner` returns `Lifetime` even if the token is a label. That's not simple, as the syntax for both can be quite similar and it may need to take a look to the next token to make a decision. I'm not sure I have enough knowledge about the project to be able to solve that (yet!), so I thought I'll fix the immediate problem first. | ||||
| 2017-12-07 | don't print self symbol's internal index unless gensymed | Niko Matsakis | -1/+10 | |
| It's just not useful. It also makes it hard to have tests that probe internal state, since the interning number is very sensitive. Dumping the number in the case of gensym is not ideal but will do for now. | ||||
| 2017-12-07 | remove unused test | Agustin Chiappe Berrini | -20/+0 | |
| 2017-12-07 | remove unnecessary function | Agustin Chiappe Berrini | -5/+1 | |
| 2017-12-07 | address comments | Agustin Chiappe Berrini | -18/+0 | |
| 2017-12-06 | Auto merge of #45953 - estebank:tab-4, r=nikomatsakis | bors | -3/+12 | |
| Display `\t` in diagnostics code as four spaces Follow up to #44386 using the unicode variable width machinery from #45711 to replace tabs in the source code when displaying a diagnostic error with four spaces (instead of only one), while properly accounting for this when calculating underlines. Partly addresses #44618. | ||||
| 2017-12-06 | and refactor to just move the checking | Agustin Chiappe Berrini | -0/+52 | |
| 2017-12-01 | incr.comp.: Store Spans as (file,line,col,length) in incr.comp. cache. | Michael Woerister | -0/+5 | |
| The previous method ran into problems because ICH would treat Spans as (file,line,col) but the cache contained byte offsets and its possible for the latter to change while the former stayed stable. | ||||
| 2017-12-01 | incr.comp.: Properly hash and encode macro expansion information. | Michael Woerister | -4/+29 | |
| 2017-11-24 | Display `\t` in diagnostics code as four spaces | Esteban Küber | -3/+12 | |
| 2017-11-13 | Fix style in interner test | John-John Tedro | -1/+1 | |
| 2017-11-06 | Auto merge of #45758 - nzig:explain-span-ctxt, r=petrochenkov | bors | -3/+5 | |
| Add comment explaining the ctxt field in Span As discussed in #45747. r? @petrochenkov | ||||
| 2017-11-05 | Fix comment formatting | Nadav Zingerman | -2/+2 | |
| 2017-11-04 | Auto merge of #45711 - tirr-c:unicode-span, r=estebank | bors | -4/+92 | |
| Display spans correctly when there are zero-width or wide characters Hopefully... * fixes #45211 * fixes #8706 --- Before: ``` error: invalid width `7` for integer literal --> unicode_2.rs:12:25 | 12 | let _ = ("a̐éö̲", 0u7); | ^^^ | = help: valid widths are 8, 16, 32, 64 and 128 error: invalid width `42` for integer literal --> unicode_2.rs:13:20 | 13 | let _ = ("아あ", 1i42); | ^^^^ | = help: valid widths are 8, 16, 32, 64 and 128 error: aborting due to 2 previous errors ``` After: ``` error: invalid width `7` for integer literal --> unicode_2.rs:12:25 | 12 | let _ = ("a̐éö̲", 0u7); | ^^^ | = help: valid widths are 8, 16, 32, 64 and 128 error: invalid width `42` for integer literal --> unicode_2.rs:13:20 | 13 | let _ = ("아あ", 1i42); | ^^^^ | = help: valid widths are 8, 16, 32, 64 and 128 error: aborting due to 2 previous errors ``` Spans might display incorrectly on the browser. r? @estebank | ||||
| 2017-11-04 | Add comment explaining the ctxt field in Span | Nadav Zingerman | -1/+3 | |
| 2017-11-03 | add `auto` keyword, parse `auto trait`, lower to HIR | leonardo.yvens | -5/+6 | |
| Adds an `IsAuto` field to `ItemTrait` which flags if the trait was declared as an `auto trait`. Auto traits cannot have generics nor super traits. | ||||
| 2017-11-03 | Display spans correctly when there are non-half-width characters | Wonwoo Choi | -4/+92 | |
| 2017-10-29 | Optimize some span operations | Vadim Petrochenkov | -25/+52 | |
| Decode span data only once | ||||
| 2017-10-14 | Implement `dyn Trait` syntax | Vadim Petrochenkov | -4/+5 | |
| 2017-10-10 | Rollup merge of #44775 - MaloJaffre:debug-struct, r=sfackler | kennytm | -2/+5 | |
| Refactor to use `debug_struct` in several Debug impls Also use `pad` and derive `Debug` for `Edge`. Fixes #44771. | ||||
| 2017-10-09 | Refactor to use `debug_struct` in several Debug impls | Malo Jaffré | -2/+5 | |
| Fixes #44771. | ||||
| 2017-10-03 | Rename FileMap::path and change to an Option | Philip Craig | -5/+6 | |
| 2017-09-30 | Don't use remapped path when loading modules and include files | Philip Craig | -0/+6 | |
| 2017-09-23 | Compress "small" spans to 32 bits and intern "large" spans | Vadim Petrochenkov | -27/+182 | |
| 2017-09-09 | Add `impl From<Vec<Span>> for MultiSpan`. | Sergio Benitez | -0/+6 | |
| 2017-09-03 | enable desugaring-sensitive error messages and use them in Try | Ariel Ben-Yehuda | -0/+12 | |
| Maybe I should allow error messages to check the *specific* desugaring? Thanks @huntiep for the idea! | ||||
| 2017-08-31 | Implement From<&str> for Symbol. | Eduard-Mihai Burtescu | -0/+6 | |
| 2017-08-30 | Make fields of `Span` public again | Vadim Petrochenkov | -3/+15 | |
| This helps to avoid landing changes to rustc and rustfmt in one step | ||||
| 2017-08-30 | Normalize order of `lo` and `hi` in `Span::new` | Vadim Petrochenkov | -1/+1 | |
| 2017-08-30 | Make fields of `Span` private | Vadim Petrochenkov | -51/+69 | |
| 2017-08-25 | *: remove crate_{name,type} attributes | Tamir Duberstein | -3/+0 | |
| Fixes #41701. | ||||
| 2017-08-18 | Auto merge of #43832 - huntiep:compiler-desugaring-enum, r=nikomatsakis | bors | -4/+35 | |
| Implement CompilerDesugaringKind enum This is the first step outlined in #35946. I think that the variants of `CompilerDesugaringKind` should be changed, I didn't know what the official names for `...` and `<-` are. I'm not to sure how tests for the compiler work, but I would imagine that tests should be added such that `Symbol::intern(s) == CompilerDesugaringKind::from(s).as_symbol()` for valid `s`. | ||||
| 2017-08-16 | Use direct references to CompilerDesugaringKind | Hunter Praska | -12/+0 | |
| 2017-08-15 | use field init shorthand EVERYWHERE | Zack M. Davis | -16/+16 | |
| Like #43008 (f668999), but _much more aggressive_. | ||||
| 2017-08-12 | Implement CompilerDesugaringKind enum | Hunter Praska | -4/+47 | |
| 2017-08-12 | syntax: #[allow_internal_unsafe] bypasses the unsafe_code lint in macros. | Eduard-Mihai Burtescu | -0/+13 | |
| 2017-08-02 | Auto merge of #43584 - arielb1:unused-reads, r=eddyb | bors | -1/+4 | |
| Fix quadratic performance with lots of use statements This fixes 2 problems that caused quadratic performance when lots of use-statements were present. After this patch, performance is linear (and very fast) even with 1M uses. Fixes #43572. Fixes #43573. r? @eddyb | ||||
| 2017-08-01 | syntax: avoid loading the same source-file multiple times | Ariel Ben-Yehuda | -1/+4 | |
| We already had a cache for file contents, but we read the source-file before testing the cache, causing obvious slowness, so this just avoids loading the source-file when the cache already has the contents. | ||||
| 2017-07-30 | resolve: Fix instability in import suggestions | Vadim Petrochenkov | -1/+1 | |
| 2017-07-27 | Give span to angle bracketed generic arguments | Vadim Petrochenkov | -0/+6 | |
| 2017-07-23 | Fix some doc/comment typos. | Bruce Mitchener | -1/+1 | |
| 2017-07-21 | Review comments | Esteban Küber | -21/+10 | |
| 2017-07-20 | Use the macro structure spans instead of the invocation | Esteban Küber | -4/+24 | |
| 2017-07-05 | Merge remote-tracking branch 'origin/master' into proc_macro_api | Alex Crichton | -63/+63 | |
| 2017-06-29 | Change some terminology around keywords and reserved identifiers | petrochenkov | -64/+63 | |
| 2017-06-29 | Make `$crate` a keyword | Vadim Petrochenkov | -51/+52 | |
| 2017-06-26 | Simplify `hygiene::Mark` application, and | Jeffrey Seyfried | -16/+10 | |
| remove variant `Token::SubstNt` in favor of `quoted::TokenTree::MetaVar`. | ||||
| 2017-06-19 | Bump version and stage0 compiler | Alex Crichton | -6/+2 | |
