| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-01-11 | Move /src/test to /tests | Albert Larsan | -19/+0 | |
| 2019-09-09 | Auto merge of #63118 - Centril:stabilize-bind-by-move, r=matthewjasper | bors | -2/+0 | |
| Stabilize `bind_by_move_pattern_guards` in Rust 1.39.0 Closes https://github.com/rust-lang/rust/issues/15287. After stabilizing `#![feature(bind_by_move_pattern_guards)]`, you can now use bind-by-move bindings in patterns and take references to those bindings in `if` guards of `match` expressions. For example, the following now becomes legal: ```rust fn main() { let array: Box<[u8; 4]> = Box::new([1, 2, 3, 4]); match array { nums // ---- `nums` is bound by move. if nums.iter().sum::<u8>() == 10 // ^------ `.iter()` implicitly takes a reference to `nums`. => { drop(nums); // --------- Legal as `nums` was bound by move and so we have ownership. } _ => unreachable!(), } } ``` r? @matthewjasper | ||||
| 2019-09-08 | Update test stderr with results of enabling unused lints | Mark Rousskov | -2/+2 | |
| 2019-09-08 | Update tests wrt. bind_by_by_move_pattern_guards stabilization. | Mazdak Farrokhzad | -2/+0 | |
| 2019-07-30 | Remove 'feature(nll)' from bind_by_move_pattern_guards tests. | Mazdak Farrokhzad | -1/+2 | |
| 2019-07-03 | Migrate compile-pass annotations to build-pass | Yuki Okushi | -1/+1 | |
| 2019-05-12 | Remove feature(nll) when compare mode is sufficient | Matthew Jasper | -1/+0 | |
| 2018-09-17 | Tests for `feature(bind_by_move_pattern_guards)`. | Felix S. Klock II | -0/+21 | |
| Apparently copyright notices are no longer necessary apparently. (See #43498 and #53654.) | ||||
