| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2015-01-18 | Make output type in ast::FnDecl optional | Seo Sanghyeon | -18/+10 | |
| 2015-01-15 | rollup merge of #21127: erickt/opt-stack | Alex Crichton | -174/+252 | |
| libsyntax compiled without optimization uses a lot of stack, which can cause it to run out of stack space. This PR factors out some arm handlers from `print_expr` as well as converts `advance_left` into a loop. This helps to cut down on the stack usage. | ||||
| 2015-01-15 | syntax: add fully qualified UFCS expressions. | Eduard Burtescu | -8/+18 | |
| 2015-01-13 | syntax: factor out print_expr arms to reduce non-optimized stack usage | Erick Tryzelaar | -78/+138 | |
| 2015-01-13 | syntax: Rewrite pp advance_left to use a constant stack size | Erick Tryzelaar | -31/+37 | |
| 2015-01-13 | syntax: Don't import the pp.rs enum variants into the namespace | Erick Tryzelaar | -70/+82 | |
| 2015-01-07 | use slicing sugar | Jorge Aparicio | -88/+87 | |
| 2015-01-07 | fallout | Nick Cameron | -27/+26 | |
| 2015-01-07 | Pretty print empty structs properly | Nick Cameron | -1/+4 | |
| 2015-01-07 | Replace full slice notation with index calls | Nick Cameron | -82/+82 | |
| 2015-01-05 | rollup merge of #20482: kmcallister/macro-reform | Alex Crichton | -0/+2 | |
| Conflicts: src/libflate/lib.rs src/libstd/lib.rs src/libstd/macros.rs src/libsyntax/feature_gate.rs src/libsyntax/parse/parser.rs src/libsyntax/show_span.rs src/test/auxiliary/macro_crate_test.rs src/test/compile-fail/lint-stability.rs src/test/run-pass/intrinsics-math.rs src/test/run-pass/tcp-connect-timeouts.rs | ||||
| 2015-01-05 | rollup merge of #20554: huonw/mut-pattern | Alex Crichton | -1/+4 | |
| Conflicts: src/librustc_typeck/check/_match.rs | ||||
| 2015-01-05 | rollup merge of #20424: jroesch/tuple-struct-where-clause-fix | Alex Crichton | -1/+2 | |
| Fixes #17904. All the cases that I believe we should support are detailed in the test case, let me know if there is there is any more desired behavior. cc @japaric. r? @nikomatsakis or whoever is appropriate. | ||||
| 2015-01-05 | remove TyClosure | Jorge Aparicio | -19/+0 | |
| 2015-01-05 | Add a special macro nonterminal $crate | Keegan McAllister | -0/+2 | |
| 2015-01-05 | Refactor struct parsing and add tests | Jared Roesch | -1/+2 | |
| 2015-01-05 | Change `&` pat to only work with &T, and `&mut` with &mut T. | Huon Wilson | -1/+4 | |
| This implements RFC 179 by making the pattern `&<pat>` require matching against a variable of type `&T`, and introducing the pattern `&mut <pat>` which only works with variables of type `&mut T`. The pattern `&mut x` currently parses as `&(mut x)` i.e. a pattern match through a `&T` or a `&mut T` that binds the variable `x` to have type `T` and to be mutable. This should be rewritten as follows, for example, for &mut x in slice.iter() { becomes for &x in slice.iter() { let mut x = x; Due to this, this is a [breaking-change] Closes #20496. | ||||
| 2015-01-04 | Add syntax for negative implementations of traits | Flavio Percoco | -0/+8 | |
| This commit introduces the syntax for negative implmenetations of traits as shown below: `impl !Trait for Type {}` cc #13231 Part of RFC #3 | ||||
| 2015-01-03 | sed -i -s 's/#\[deriving(/#\[derive(/g' **/*.rs | Jorge Aparicio | -8/+8 | |
| 2015-01-03 | sed -i -s 's/\bmod,/self,/g' **/*.rs | Jorge Aparicio | -5/+5 | |
| 2015-01-02 | Merge remote-tracking branch 'origin/master' into rollup | Alex Crichton | -1/+1 | |
| Conflicts: src/test/compile-fail/borrowck-loan-rcvr-overloaded-op.rs | ||||
| 2015-01-02 | Make type in ast::Local optional | Seo Sanghyeon | -6/+4 | |
| 2015-01-02 | Accept `self` in place of `mod` in use items | Nick Cameron | -1/+1 | |
| [breaking-change] `mod` is still accepted, but gives a deprecated warning | ||||
| 2014-12-30 | Fallout from stabilization | Aaron Turon | -3/+4 | |
| 2014-12-29 | rollup merge of #20194: nick29581/dst-syntax | Alex Crichton | -13/+18 | |
| Part of #19607. r? @nikomatsakis | ||||
| 2014-12-30 | Remove ExprSlice by hacking the compiler | Nick Cameron | -19/+1 | |
| [breaking-change] The `mut` in slices is now redundant. Mutability is 'inferred' from position. This means that if mutability is only obvious from the type, you will need to use explicit calls to the slicing methods. | ||||
| 2014-12-30 | Add hypothetical support for ranges with only an upper bound | Nick Cameron | -1/+3 | |
| Note that this doesn't add the surface syntax. | ||||
| 2014-12-29 | Slash the ast::Stmt type from 104 to 24 bytes. | Huon Wilson | -1/+1 | |
| (on platforms with 64-bit pointers.) The StmtMac variant is rather large and also fairly rare, so let's optimise the common case. | ||||
| 2014-12-26 | Changes to RustDoc | Nick Cameron | -7/+12 | |
| 2014-12-26 | Accept `?Sized` as well as `Sized?` | Nick Cameron | -11/+11 | |
| Includes a bit of refactoring to store `?` unbounds as bounds with a modifier, rather than in their own world, in the AST at least. | ||||
| 2014-12-24 | Add syntax for ranges | Nick Cameron | -0/+7 | |
| 2014-12-22 | rollup merge of #20124: klutzy/pprust-asm | Alex Crichton | -5/+23 | |
| 2014-12-21 | Fallout of std::str stabilization | Alex Crichton | -131/+134 | |
| 2014-12-22 | pprust: Fix asm options | klutzy | -5/+23 | |
| 2014-12-21 | rollup merge of #20057: nick29581/array-syntax | Alex Crichton | -3/+2 | |
| This does NOT break any existing programs because the `[_, ..n]` syntax is also supported. Part of #19999 r? @nikomatsakis | ||||
| 2014-12-20 | Add support for multiple region bounds in where clauses | Jared Roesch | -2/+9 | |
| 2014-12-20 | Add parser support for generalized where clauses | Jared Roesch | -2/+9 | |
| Implement support in the parser for generalized where clauses, as well as the conversion of ast::WherePredicates to ty::Predicate in `collect.rs`. | ||||
| 2014-12-20 | Allow use of `[_ ; n]` syntax for fixed length and repeating arrays. | Nick Cameron | -3/+2 | |
| This does NOT break any existing programs because the `[_, ..n]` syntax is also supported. | ||||
| 2014-12-19 | libsyntax: use `#[deriving(Copy)]` | Jorge Aparicio | -17/+7 | |
| 2014-12-18 | librustc: Always parse `macro!()`/`macro![]` as expressions if not | Patrick Walton | -13/+29 | |
| followed by a semicolon. This allows code like `vec![1i, 2, 3].len();` to work. This breaks code that uses macros as statements without putting semicolons after them, such as: fn main() { ... assert!(a == b) assert!(c == d) println(...); } It also breaks code that uses macros as items without semicolons: local_data_key!(foo) fn main() { println("hello world") } Add semicolons to fix this code. Those two examples can be fixed as follows: fn main() { ... assert!(a == b); assert!(c == d); println(...); } local_data_key!(foo); fn main() { println("hello world") } RFC #378. Closes #18635. [breaking-change] | ||||
| 2014-12-17 | rollup merge of #19918: pnkfelix/ast-refactor-make-place-in-exprbox-an-option | Alex Crichton | -1/+1 | |
| This is to allow us to migrate away from UnUniq in a followup commit, and thus unify the code paths related to all forms of `box`. | ||||
| 2014-12-17 | rollup merge of #19831: luqmana/deriving-where | Alex Crichton | -0/+1 | |
| Fixes #19358. | ||||
| 2014-12-16 | AST refactor: make the place in ExprBox an option. | Felix S. Klock II | -1/+1 | |
| This is to allow us to migrate away from UnUniq in a followup commit, and thus unify the code paths related to all forms of `box`. | ||||
| 2014-12-15 | Fix pretty printing of HRTB syntax | Brian Koropoff | -0/+5 | |
| 2014-12-14 | Parse `unsafe impl` but don't do anything particularly interesting with the ↵ | Niko Matsakis | -3/+7 | |
| results. | ||||
| 2014-12-14 | Parse `unsafe trait` but do not do anything with it beyond parsing and ↵ | Niko Matsakis | -3/+5 | |
| integrating into rustdoc etc. | ||||
| 2014-12-14 | Rename FnStyle trait to Unsafety. | Niko Matsakis | -24/+24 | |
| 2014-12-14 | Remove `proc` types/expressions from the parser, compiler, and | Niko Matsakis | -47/+2 | |
| language. Recommend `move||` instead. | ||||
| 2014-12-14 | libsyntax: Output where clauses in pretty printer for structs. | Luqman Aden | -0/+1 | |
| 2014-12-13 | libsyntax: use unboxed closures | Jorge Aparicio | -12/+18 | |
