| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2014-08-01 | librustc: Forbid pattern bindings after `@`s, for memory safety. | Patrick Walton | -27/+0 | |
| This is an alternative to upgrading the way rvalues are handled in the borrow check. Making rvalues handled more like lvalues in the borrow check caused numerous problems related to double mutable borrows and rvalue scopes. Rather than come up with more borrow check rules to try to solve these problems, I decided to just forbid pattern bindings after `@`. This affected fewer than 10 lines of code in the compiler and libraries. This breaks code like: match x { y @ z => { ... } } match a { b @ Some(c) => { ... } } Change this code to use nested `match` or `let` expressions. For example: match x { y => { let z = y; ... } } match a { Some(c) => { let b = Some(c); ... } } Closes #14587. [breaking-change] | ||||
| 2014-06-23 | libsyntax: Disallow struct literals after `if`, `while`, `match`, and | Patrick Walton | -1/+1 | |
| `for...in`. Closes #14803. If you used a structure literal after one of these keywords, surround it in parentheses. [breaking-change] | ||||
| 2014-01-13 | librustc: Remove `@` pointer patterns from the language | Patrick Walton | -5/+3 | |
| 2013-11-28 | Register new snapshots | Alex Crichton | -3/+3 | |
| 2013-10-23 | register snapshots | Daniel Micay | -0/+2 | |
| 2013-10-22 | Drop the '2' suffix from logging macros | Alex Crichton | -1/+1 | |
| Who doesn't like a massive renaming? | ||||
| 2013-09-30 | rpass: Remove usage of fmt! | Alex Crichton | -1/+1 | |
| 2013-08-17 | Fix warnings it tests | Erick Tryzelaar | -1/+1 | |
| 2013-05-19 | Use assert_eq! rather than assert! where possible | Corey Richardson | -2/+2 | |
| 2013-03-29 | librustc: Remove `fail_unless!` | Patrick Walton | -3/+3 | |
| 2013-03-07 | librustc: Convert all uses of `assert` over to `fail_unless!` | Patrick Walton | -3/+3 | |
| 2013-02-22 | test: De-mut the test suite. rs=demuting | Patrick Walton | -3/+3 | |
| 2013-02-13 | Remove die!, raplace invocations with fail! Issue #4524 pt 3 | Nick Desaulniers | -1/+1 | |
| 2013-02-01 | check-fast fallout from removing export, r=burningtree | Graydon Hoare | -1/+1 | |
| 2013-01-31 | Replace most invocations of fail keyword with die! macro | Nick Desaulniers | -1/+1 | |
| 2013-01-26 | testsuite: Eliminate uses of structural records from most run-pass tests | Tim Chevalier | -5/+10 | |
| Except the pipes tests (that needs a snapshot) | ||||
| 2012-12-10 | Reliciense makefiles and testsuite. Yup. | Graydon Hoare | -0/+10 | |
| 2012-08-06 | Convert alt to match. Stop parsing alt | Brian Anderson | -1/+1 | |
| 2012-08-05 | Switch alts to use arrows | Brian Anderson | -2/+2 | |
| 2012-03-26 | Bulk-edit mutable -> mut. | Graydon Hoare | -2/+2 | |
| 2011-12-08 | Allow binding of nested patterns | Marijn Haverbeke | -0/+12 | |
| See src/test/run-pass/nested-patterns.rs for some examples. The syntax is boundvar@subpattern Which will match the subpattern as usual, but also bind boundvar to the whole matched value. Closes #838 | ||||
