| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2016-03-14 | Add pretty printer output for `default` | Aaron Turon | -0/+3 | |
| 2016-03-12 | Removed integer suffixes in libsyntax crate | srinivasreddy | -2/+2 | |
| 2016-03-07 | implement the `?` operator | Jorge Aparicio | -0/+4 | |
| The `?` postfix operator is sugar equivalent to the try! macro, but is more amenable to chaining: `File::open("foo")?.metadata()?.is_dir()`. `?` is accepted on any *expression* that can return a `Result`, e.g. `x()?`, `y!()?`, `{z}?`, `(w)?`, etc. And binds more tightly than unary operators, e.g. `!x?` is parsed as `!(x?)`. cc #31436 | ||||
| 2016-03-07 | syntax: Always pretty print a newline after doc comments | Erick Tryzelaar | -1/+2 | |
| Before this patch, code that had a doc comment as the first line, as in: ```rust /// Foo struct Foo; ``` Was pretty printed into: ```rust ///Foostruct Foo; ``` This makes sure that that there is always a trailing newline after a doc comment. Closes #31722 | ||||
| 2016-02-27 | fix fallout from libsyntax enumpocalypse | Alex Burka | -1/+1 | |
| 2016-02-27 | libsyntax: parse inclusive ranges | Alex Burka | -2/+6 | |
| 2016-02-13 | Split ast::PatKind::Enum into tuple struct and path patterns | Vadim Petrochenkov | -7/+8 | |
| 2016-02-13 | Rename ast::Pat_ and its variants | Vadim Petrochenkov | -16/+16 | |
| 2016-02-12 | Use more autoderef in libsyntax | Jonas Schievink | -133/+133 | |
| 2016-02-11 | Remove some unnecessary indirection from AST structures | Vadim Petrochenkov | -4/+4 | |
| 2016-02-11 | [breaking-change] don't glob export ast::PathListItem_ variants | Oliver 'ker' Schneider | -2/+2 | |
| 2016-02-11 | [breaking-change] don't glob export ast::StrStyle variants | Oliver 'ker' Schneider | -8/+8 | |
| 2016-02-11 | [breaking-change] don't glob export ast::Visibility variants | Oliver 'ker' Schneider | -8/+8 | |
| 2016-02-11 | [breaking-change] don't glob export ast::TraitItemKind variants | Oliver 'ker' Schneider | -3/+3 | |
| 2016-02-11 | [breaking-change] don't glob export ast::Mutablity variants | Oliver 'ker' Schneider | -11/+11 | |
| 2016-02-11 | [breaking-change] don't glob export ast::MetaItem_ | Oliver 'ker' Schneider | -3/+3 | |
| 2016-02-11 | [breaking-change] don't glob export ast::MacStmtStyle | Oliver 'ker' Schneider | -2/+2 | |
| 2016-02-11 | [breaking-change] don't glob export ast::KleeneOp variants | Oliver 'ker' Schneider | -2/+2 | |
| 2016-02-11 | [breaking-change] don't glob export ast::Item_ variants | Oliver 'ker' Schneider | -15/+15 | |
| 2016-02-11 | [breaking-change] don't glob export ast::ForeignItem_ variants | Oliver 'ker' Schneider | -2/+2 | |
| 2016-02-11 | [breaking-change] don't pub export ast::Stmt_ variants | Oliver Schneider | -4/+4 | |
| 2016-02-11 | [breaking-change] don't pub export ast::IntLitType variants | Oliver Schneider | -3/+3 | |
| 2016-02-11 | [breaking-change] don't pub export ast::Lit_ variants | Oliver Schneider | -8/+8 | |
| 2016-02-11 | [breaking-change] don't pub export ast::Ty_ variants | Oliver Schneider | -15/+15 | |
| 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 | -10/+2 | |
| 2016-02-11 | [breaking-change] don't glob export ast::{UintTy, IntTy} variants | Oliver Schneider | -2/+2 | |
| 2016-02-11 | [breaking-change] don't glob export ast::Expr_ variants | Oliver Schneider | -48/+48 | |
| 2016-02-11 | [breaking-change] don't glob export ast::ExplicitSelf_ variants | Oliver Schneider | -12/+12 | |
| 2016-02-11 | [breaking-change] don't glob export ast::Decl_ variants | Oliver Schneider | -2/+2 | |
| 2016-02-11 | [breaking-change] don't glob export ast::CaptureClause variants | Oliver Schneider | -3/+3 | |
| 2016-02-11 | [breaking-change] don't glob import/export syntax::abi enum variants | Oliver Schneider | -8/+8 | |
| 2016-02-11 | [breaking-change] don't glob export ast::BlockCheckMode variants | Oliver Schneider | -4/+4 | |
| 2016-02-11 | [breaking-change] don't glob import ast::FunctionRetTy variants | Oliver Schneider | -11/+11 | |
| 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-26 | Auto merge of #31120 - alexcrichton:attribute-deny-warnings, r=brson | bors | -1/+0 | |
| This commit removes the `-D warnings` flag being passed through the makefiles to all crates to instead be a crate attribute. We want these attributes always applied for all our standard builds, and this is more amenable to Cargo-based builds as well. Note that all `deny(warnings)` attributes are gated with a `cfg(stage0)` attribute currently to match the same semantics we have today | ||||
| 2016-01-26 | Fix warnings during tests | Alex Crichton | -1/+0 | |
| The deny(warnings) attribute is now enabled for tests so we need to weed out these warnings as well. | ||||
| 2016-01-25 | Fix pretty_printer to print omitted type `_` marker | nxnfufunezn | -8/+8 | |
| 2015-12-30 | Auto merge of #30526 - Ms2ger:PathParameters, r=brson | bors | -2/+2 | |
| 2015-12-23 | Minor fix to whitespace in libsyntax | Erick Tryzelaar | -2/+2 | |
| 2015-12-22 | Stop re-exporting PathParameters's variants. | Ms2ger | -2/+2 | |
| 2015-12-21 | Auto merge of #30460 - Ms2ger:BindingMode, r=alexcrichton | bors | -4/+4 | |
| 2015-12-20 | Stop re-exporting the ast::BindingMode variants. | Ms2ger | -4/+4 | |
| 2015-12-19 | Auto merge of #30184 - petrochenkov:ascr, r=nikomatsakis | bors | -1/+6 | |
| This PR is a rebase of the original PR by @eddyb https://github.com/rust-lang/rust/pull/21836 with some unrebasable parts manually reapplied, feature gate added + type equality restriction added as described below. This implementation is partial because the type equality restriction is applied to all type ascription expressions and not only those in lvalue contexts. Thus, all difficulties with detection of these contexts and translation of coercions having effect in runtime are avoided. So, you can't write things with coercions like `let slice = &[1, 2, 3]: &[u8];`. It obviously makes type ascription less useful than it should be, but it's still much more useful than not having type ascription at all. In particular, things like `let v = something.iter().collect(): Vec<_>;` and `let u = t.into(): U;` work as expected and I'm pretty happy with these improvements alone. Part of https://github.com/rust-lang/rust/issues/23416 | ||||
| 2015-12-18 | Rollup merge of #30420 - petrochenkov:owned2, r=nrc | Manish Goregaokar | -3/+2 | |
| Part of https://github.com/rust-lang/rust/pull/30095 not causing mysterious segfaults. r? @nrc | ||||
| 2015-12-18 | Deprecate name `OwnedSlice` and don't use it | Vadim Petrochenkov | -3/+2 | |
| 2015-12-17 | move error handling from libsyntax/diagnostics.rs to libsyntax/errors/* | Nick Cameron | -3/+3 | |
| Also split out emitters into their own module. | ||||
| 2015-12-16 | Implement type ascription. | Eduard Burtescu | -1/+6 | |
| 2015-12-16 | Rollup merge of #30388 - DanielJCampbell:macro-ident-spans, r=nrc | Manish Goregaokar | -1/+1 | |
| r? @nrc | ||||
| 2015-12-15 | Generated code spans now point to callsite parameters (where applicable) | Daniel Campbell | -1/+1 | |
