| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-08-07 | Fix incorrect non-exhaustive matching for fixed length vecs | Stepan Koltsov | -7/+7 | |
| Code like this is fixed now: ``` fn foo(p: [u8, ..4]) { match p { [a, b, c, d] => {} }; } ``` Invalid constructors are not reported as errors yet: ``` fn foo(p: [u8, ..4]) { match p { [_, _, _] => {} // this should be error [_, _, _, _, _, .._] => {} // and this _ => {} } } ``` Issue #8311 is partially fixed by this commit. Fixed-length arrays in let statement are not yet allowed: ``` let [a, b, c] = [1, 2, 3]; // still fails ``` | ||||
| 2013-07-08 | Update existing tests to account for stricter, more correct handling of ↵ | Niko Matsakis | -0/+37 | |
| irrefutable patterns | ||||
| 2013-05-14 | Use static string with fail!() and remove fail!(fmt!()) | Björn Steinbrink | -1/+1 | |
| fail!() used to require owned strings but can handle static strings now. Also, it can pass its arguments to fmt!() on its own, no need for the caller to call fmt!() itself. | ||||
| 2013-05-05 | Merge remote-tracking branch 'mozilla/incoming' into issue-5910-dyna-freeze | Niko Matsakis | -1/+0 | |
| Conflicts: src/libcore/core.rc src/libcore/hashmap.rs src/libcore/num/f32.rs src/libcore/num/f64.rs src/libcore/num/float.rs src/libcore/num/int-template.rs src/libcore/num/num.rs src/libcore/num/strconv.rs src/libcore/num/uint-template.rs src/libcore/ops.rs src/libcore/os.rs src/libcore/prelude.rs src/libcore/rt/mod.rs src/libcore/unstable/lang.rs src/librustc/driver/session.rs src/librustc/middle/astencode.rs src/librustc/middle/borrowck/check_loans.rs src/librustc/middle/borrowck/gather_loans.rs src/librustc/middle/borrowck/loan.rs src/librustc/middle/borrowck/preserve.rs src/librustc/middle/liveness.rs src/librustc/middle/mem_categorization.rs src/librustc/middle/region.rs src/librustc/middle/trans/base.rs src/librustc/middle/trans/inline.rs src/librustc/middle/trans/reachable.rs src/librustc/middle/typeck/check/_match.rs src/librustc/middle/typeck/check/regionck.rs src/librustc/util/ppaux.rs src/libstd/arena.rs src/libstd/ebml.rs src/libstd/json.rs src/libstd/serialize.rs src/libstd/std.rc src/libsyntax/ast_map.rs src/libsyntax/parse/parser.rs src/test/compile-fail/borrowck-uniq-via-box.rs src/test/compile-fail/regions-infer-borrow-scope-within-loop.rs src/test/run-pass/borrowck-nested-calls.rs | ||||
| 2013-05-03 | add gitattributes and fix whitespace issues | Daniel Micay | -1/+0 | |
| 2013-04-30 | new borrow checker (mass squash) | Niko Matsakis | -2/+2 | |
| 2013-02-13 | Remove die!, raplace invocations with fail! Issue #4524 pt 3 | Nick Desaulniers | -1/+1 | |
| 2013-02-01 | Remove fail keyword from lexer & parser and clean up remaining calls to | Nick Desaulniers | -1/+1 | |
| fail Fix merge conflicts - Issue 4524 | ||||
| 2013-01-28 | Integrate vec patterns into borrow checker. | Niko Matsakis | -0/+21 | |
| The tail portion of the pattern effectively borrows a vector, but the borrow checker knew nothing about this. r=catamorphism | ||||
