| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2015-03-11 | syntax: move MethMac to MacImplItem and combine {Provided,Required}Method ↵ | Eduard Burtescu | -44/+14 | |
| into MethodTraitItem. | ||||
| 2015-03-11 | syntax: rename TypeMethod to MethodSig and use it in MethDecl. | Eduard Burtescu | -10/+10 | |
| 2015-03-11 | syntax: gather common fields of impl & trait items into their respective types. | Eduard Burtescu | -64/+63 | |
| 2015-03-11 | syntax: move indirection around {Trait,Impl}Item, from within. | Eduard Burtescu | -4/+4 | |
| 2015-02-24 | Implement `<T>::method` UFCS expression syntax. | Eduard Burtescu | -10/+8 | |
| 2015-02-24 | syntax: use a single Path for Trait::Item in QPath. | Eduard Burtescu | -11/+4 | |
| 2015-02-24 | syntax: don't use TraitRef in QPath. | Eduard Burtescu | -11/+9 | |
| 2015-02-24 | syntax: don't store a secondary NodeId for TyPath. | Eduard Burtescu | -2/+2 | |
| 2015-02-22 | Rename DefTrait to DefaultImpl | Flavio Percoco | -1/+1 | |
| 2015-02-22 | Add support for default trait impls in libsyntax | Flavio Percoco | -0/+3 | |
| 2015-02-05 | cleanup: replace `as[_mut]_slice()` calls with deref coercions | Jorge Aparicio | -2/+2 | |
| 2015-02-03 | Remove the explicit closure kind syntax from the parser and AST; | Niko Matsakis | -1/+1 | |
| upgrade the inference based on expected type so that it is able to infer the fn kind in isolation even if the full signature is not available (and we could perhaps do better still in some cases, such as extracting just the types of the arguments but not the return value). | ||||
| 2015-02-02 | `for x in xs.iter()` -> `for x in &xs` | Jorge Aparicio | -50/+50 | |
| 2015-01-21 | syntax: fix fallout of merging ast::ViewItem into ast::Item. | Eduard Burtescu | -47/+26 | |
| 2015-01-15 | syntax: add fully qualified UFCS expressions. | Eduard Burtescu | -3/+15 | |
| 2015-01-05 | rollup merge of #20482: kmcallister/macro-reform | Alex Crichton | -6/+6 | |
| 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/+1 | |
| Conflicts: src/librustc_typeck/check/_match.rs | ||||
| 2015-01-05 | Reserve the keyword 'macro' | Keegan McAllister | -6/+6 | |
| 2015-01-05 | remove TyClosure | Jorge Aparicio | -8/+0 | |
| 2015-01-05 | Change `&` pat to only work with &T, and `&mut` with &mut T. | Huon Wilson | -1/+1 | |
| 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 | -1/+1 | |
| 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 | -1/+1 | |
| 2015-01-02 | rollup merge of #20341: nikomatsakis/impl-trait-for-trait-2 | Alex Crichton | -2/+1 | |
| Conflicts: src/librustc/middle/traits/mod.rs src/libstd/io/mod.rs src/test/run-pass/builtin-superkinds-self-type.rs | ||||
| 2015-01-02 | Fix fallout from change, adding explicit `Sized` annotations where necessary. | Niko Matsakis | -2/+1 | |
| 2015-01-02 | Make type in ast::Local optional | Seo Sanghyeon | -5/+9 | |
| 2014-12-30 | Don't normalize associated types when in region binders, wait until we ↵ | Niko Matsakis | -0/+12 | |
| instantiate them. Also fix some assertions and handling of builtin bounds. | ||||
| 2014-12-29 | rollup merge of #20194: nick29581/dst-syntax | Alex Crichton | -6/+7 | |
| Part of #19607. r? @nikomatsakis | ||||
| 2014-12-30 | Remove ExprSlice by hacking the compiler | Nick Cameron | -5/+0 | |
| [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/+1 | |
| 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 | Accept `?Sized` as well as `Sized?` | Nick Cameron | -6/+7 | |
| 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/+4 | |
| 2014-12-20 | Add support for multiple region bounds in where clauses | Jared Roesch | -2/+5 | |
| 2014-12-20 | Add parser support for generalized where clauses | Jared Roesch | -3/+8 | |
| 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-19 | libsyntax: use `#[deriving(Copy)]` | Jorge Aparicio | -2/+1 | |
| 2014-12-19 | Make all predicates higher-ranked, not just trait references. | Niko Matsakis | -3/+16 | |
| 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-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 | Resolve lifetimes in associated types | Seo Sanghyeon | -8/+11 | |
| 2014-12-14 | Parse `unsafe impl` but don't do anything particularly interesting with the ↵ | Niko Matsakis | -1/+2 | |
| results. | ||||
| 2014-12-14 | Parse `unsafe trait` but do not do anything with it beyond parsing and ↵ | Niko Matsakis | -1/+1 | |
| integrating into rustdoc etc. | ||||
| 2014-12-14 | Rename FnStyle trait to Unsafety. | Niko Matsakis | -1/+1 | |
| 2014-12-14 | Remove `proc` types/expressions from the parser, compiler, and | Niko Matsakis | -15/+0 | |
| language. Recommend `move||` instead. | ||||
| 2014-12-12 | Add support for equality constraints on associated types | Nick Cameron | -2/+16 | |
| 2014-12-08 | librustc: Make `Copy` opt-in. | Niko Matsakis | -0/+2 | |
| This change makes the compiler no longer infer whether types (structures and enumerations) implement the `Copy` trait (and thus are implicitly copyable). Rather, you must implement `Copy` yourself via `impl Copy for MyType {}`. A new warning has been added, `missing_copy_implementations`, to warn you if a non-generic public type has been added that could have implemented `Copy` but didn't. For convenience, you may *temporarily* opt out of this behavior by using `#![feature(opt_out_copy)]`. Note though that this feature gate will never be accepted and will be removed by the time that 1.0 is released, so you should transition your code away from using it. This breaks code like: #[deriving(Show)] struct Point2D { x: int, y: int, } fn main() { let mypoint = Point2D { x: 1, y: 1, }; let otherpoint = mypoint; println!("{}{}", mypoint, otherpoint); } Change this code to: #[deriving(Show)] struct Point2D { x: int, y: int, } impl Copy for Point2D {} fn main() { let mypoint = Point2D { x: 1, y: 1, }; let otherpoint = mypoint; println!("{}{}", mypoint, otherpoint); } This is the backwards-incompatible part of #13231. Part of RFC #3. [breaking-change] | ||||
| 2014-11-29 | Replace some verbose match statements with their `if let` equivalent. | jfager | -5/+2 | |
| No semantic changes, no enabling `if let` where it wasn't already enabled. | ||||
| 2014-11-26 | rollup merge of #19329: steveklabnik/doc_style_cleanup2 | Alex Crichton | -5/+3 | |
| 2014-11-26 | /*! -> //! | Steve Klabnik | -5/+3 | |
| Sister pull request of https://github.com/rust-lang/rust/pull/19288, but for the other style of block doc comment. | ||||
| 2014-11-26 | Rote changes due to the fact that ast paths no longer carry this extraneous ↵ | Niko Matsakis | -7/+5 | |
| bounds. | ||||
| 2014-11-23 | Remove type parameters from ExprField and ExprTupField | Adolfo Ochagavía | -8/+2 | |
