| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2016-02-11 | [breaking-change] don't glob export ast::ForeignItem_ variants | Oliver 'ker' Schneider | -19/+18 | |
| 2016-02-11 | [breaking-change] don't pub export ast::Stmt_ variants | Oliver Schneider | -81/+76 | |
| 2016-02-11 | [breaking-change] don't pub export ast::IntLitType variants | Oliver Schneider | -25/+24 | |
| 2016-02-11 | [breaking-change] don't pub export ast::Lit_ variants | Oliver Schneider | -67/+66 | |
| 2016-02-11 | [breaking-change] don't pub export ast::Ty_ variants | Oliver Schneider | -109/+106 | |
| 2016-02-11 | [breaking-change] remove unused enum ast::PrimTy | Oliver Schneider | -12/+0 | |
| 2016-02-11 | remove unit test that can't be tested anymore | Oliver Schneider | -8/+0 | |
| 2016-02-11 | [breaking-change] remove the sign from integer literals in the ast | Oliver Schneider | -61/+42 | |
| 2016-02-11 | [breaking-change] don't glob export ast::{UintTy, IntTy} variants | Oliver Schneider | -85/+83 | |
| 2016-02-11 | [breaking-change] don't glob export ast::FloatTy variants | Oliver Schneider | -9/+8 | |
| 2016-02-11 | [breaking-change] don't glob export ast::Expr_ variants | Oliver Schneider | -334/+327 | |
| 2016-02-11 | [breaking-change] don't glob export ast::ExplicitSelf_ variants | Oliver Schneider | -51/+50 | |
| 2016-02-11 | [breaking-change] don't glob export ast::Decl_ variants | Oliver Schneider | -31/+30 | |
| 2016-02-11 | [breaking-change] don't glob export ast::CaptureClause variants | Oliver Schneider | -14/+14 | |
| 2016-02-11 | [breaking-change] don't glob import/export syntax::abi enum variants | Oliver Schneider | -68/+64 | |
| 2016-02-11 | [breaking-change] don't glob export ast::BlockCheckMode variants | Oliver Schneider | -21/+18 | |
| 2016-02-11 | [breaking-change] don't glob import ast::FunctionRetTy variants | Oliver Schneider | -35/+34 | |
| 2016-02-11 | [breaking-change] don't glob export ast::BinOp_ | Oliver Schneider | -126/+128 | |
| 2016-02-11 | [breaking-change] don't glob export ast::UnOp variants | Oliver Schneider | -16/+16 | |
| 2016-02-08 | Breaking tokens into pieces should behave similar to Parser::bump. | Tomasz Miąsko | -11/+19 | |
| Previously when breaking tokens into smaller pieces, the replace_token function have been used. It replaced current token and updated span information, but it did not clear the list of expected tokens, neither did it update remaining info about last token. This could lead to incorrect error message, like one described in the issue #24780: expected one of ... `>` ... found `>` | ||||
| 2016-02-05 | Auto merge of #31389 - mitaa:schars, r=nrc | bors | -10/+10 | |
| A span spanning only a single character would render like `^~` instead of just `^`. r? @nrc | ||||
| 2016-02-04 | Auto merge of #31382 - DanielJCampbell:SaveSpans, r=nrc | bors | -1/+20 | |
| r? @nrc | ||||
| 2016-02-03 | Auto merge of #31078 - nbaksalyar:illumos, r=alexcrichton | bors | -0/+2 | |
| This pull request adds support for [Illumos](http://illumos.org/)-based operating systems: SmartOS, OpenIndiana, and others. For now it's x86-64 only, as I'm not sure if 32-bit installations are widespread. This PR is based on #28589 by @potatosalad, and also closes #21000, #25845, and #25846. Required changes in libc are already merged: https://github.com/rust-lang-nursery/libc/pull/138 Here's a snapshot required to build a stage0 compiler: https://s3-eu-west-1.amazonaws.com/nbaksalyar/rustc-sunos-snapshot.tar.gz It passes all checks from `make check`. There are some changes I'm not quite sure about, e.g. macro usage in `src/libstd/num/f64.rs` and `DirEntry` structure in `src/libstd/sys/unix/fs.rs`, so any comments on how to rewrite it better would be greatly appreciated. Also, LLVM configure script might need to be patched to build it successfully, or a pre-built libLLVM should be used. Some details can be found here: https://llvm.org/bugs/show_bug.cgi?id=25409 Thanks! r? @brson | ||||
| 2016-02-03 | Fix rendering of single-char-span | mitaa | -10/+10 | |
| A span spanning only a single character would render like `^~` instead of just `^`. | ||||
| 2016-02-03 | Changed macro spans in CSVs to point to the macro name, bugfixed nested spans | Daniel Campbell | -1/+20 | |
| 2016-02-03 | Rollup merge of #27499 - barosl:macro-doc-raw-str-hashes, r=nikomatsakis | Manish Goregaokar | -1/+15 | |
| Any documentation comments that contain raw-string-looking sequences may pretty-print invalid code when expanding them, as the current logic always uses the `r"literal"` form, without appending any `#`s. This commit calculates the minimum number of `#`s required to wrap a comment correctly and appends `#`s appropriately. Fixes #27489. | ||||
| 2016-02-02 | Auto merge of #31254 - tmiasko:macro-pretty-print-fix, r=sfackler | bors | -5/+2 | |
| Pretty printing of macro with braces but without terminated semicolon removed more boxes from stack than it put there, resulting in panic. This fixes the issue #30731. | ||||
| 2016-02-02 | Rollup merge of #31342 - reeze:patch-1, r=steveklabnik | Steve Klabnik | -3/+3 | |
| 2016-02-02 | Rollup merge of #31281 - oli-obk:patch-2, r=nikomatsakis | Steve Klabnik | -2/+2 | |
| 2016-02-02 | Auto merge of #31279 - DanielJCampbell:MacroReferencing, r=nrc | bors | -0/+21 | |
| r? @nrc | ||||
| 2016-02-01 | Auto merge of #31250 - nrc:more-aborts, r=@nikomatsakis | bors | -7/+3 | |
| With this PR we can save-analysis on code with errors, essential foundation work for IDE support. | ||||
| 2016-02-01 | Comment fix | Reeze Xia | -3/+3 | |
| 2016-02-01 | Auto merge of #31277 - DanielJCampbell:SpanEquality, r=nrc | bors | -19/+16 | |
| r? @nrc | ||||
| 2016-02-01 | Implemented macro referencing for save analysis | Daniel Campbell | -0/+21 | |
| 2016-02-01 | Spans now derive equality | Daniel Campbell | -19/+16 | |
| 2016-02-01 | Replace some aborts with Results | Nick Cameron | -7/+3 | |
| Fixes #31207 by removing abort_if_new_errors | ||||
| 2016-01-31 | Rename sunos to solaris | Nikita Baksalyar | -2/+2 | |
| 2016-01-31 | Add Illumos support | Nikita Baksalyar | -0/+2 | |
| 2016-01-30 | off by one | Oliver Schneider | -1/+1 | |
| 2016-01-30 | Rollup merge of #31244 - tshepang:rustfmt-parse, r=nikomatsakis | Manish Goregaokar | -49/+49 | |
| 2016-01-29 | Auto merge of #31248 - ruud-v-a:fix-triple-ice, r=nrc | bors | -14/+18 | |
| This fixes #31238. r? @michaelsproul | ||||
| 2016-01-29 | Update emitter.rs | mitaa | -1/+1 | |
| 2016-01-29 | fix overflow due to multiline error span | Oliver Schneider | -1/+1 | |
| 2016-01-28 | Auto merge of #30411 - mitaa:multispan, r=nrc | bors | -380/+1133 | |
| This allows to render multiple spans on one line, or to splice multiple replacements into a code suggestion. fixes #28124 | ||||
| 2016-01-28 | Avoid ICE if environment variable is not set | Ruud van Asseldonk | -14/+18 | |
| Rustdoc could trigger a code path that relied on the $CFG_COMPILER_HOST_TRIPLE environment variable being set, causing an ICE if it was not. This fixes that, emitting an error instead of crashing. | ||||
| 2016-01-28 | Implement MultiSpan error reporting | mitaa | -380/+1133 | |
| This allows to render multiple spans on one line, or to splice multiple replacements into a code suggestion. | ||||
| 2016-01-28 | libsyntax: fix pretty printing of macro with braces | Tomasz Miąsko | -5/+2 | |
| Pretty printing of macro with braces but without terminated semicolon removed more boxes from stack than it put there, resulting in panic. This fixes the issue #30731. | ||||
| 2016-01-27 | rustfmt syntax::parse | Tshepang Lekhonkhobe | -49/+49 | |
| 2016-01-27 | trpl: fix macro follow sets | Alex Burka | -0/+1 | |
| 2016-01-27 | Auto merge of #31089 - fhahn:macro-ice, r=pnkfelix | bors | -30/+68 | |
| This is a work in progress PR that potentially should fix #29084, #28308, #25385, #28288, #31011. I think this may also adresse parts of #2887. The problem in this issues seems to be that when transcribing macro arguments, we just clone the argument Nonterminal, which still has to original spans. This leads to the unprintable spans. One solution would be to update the spans of the inserted argument to match the argument in the macro definition. So for [this testcase](https://github.com/rust-lang/rust/compare/master...fhahn:macro-ice?expand=1#diff-f7def7420c51621640707b6337726876R2) the error message would be displayed in the macro definition: src/test/compile-fail/issue-31011.rs:4:12: 4:22 error: attempted access of field `trace` on type `&T`, but no field with that name was found src/test/compile-fail/issue-31011.rs:4 if $ctx.trace { Currently I've added a very simple `update_span` function, which updates the span of the outer-most expression of a `NtExpr`, but this `update_span` function should be updated to handle all Nonterminals. But I'm pretty new to the macro system and would like to check if this approach makes sense, before doing that. | ||||
