| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-07-01 | Auto merge of #61682 - Centril:stabilize-type_alias_enum_variants, ↵ | bors | -43/+0 | |
| r=petrochenkov Stabilize `type_alias_enum_variants` in Rust 1.37.0 Stabilize `#![feature(type_alias_enum_variants)]` which allows type-relative resolution with highest priority to `enum` variants in both expression and pattern contexts. For example, you may now write: ```rust enum Option<T> { None, Some(T), } type OptAlias<T> = Option<T>; fn work_on_alias(x: Option<u8>) -> u8 { match x { OptAlias::Some(y) => y + 1, OptAlias::None => 0, } } ``` Closes https://github.com/rust-lang/rfcs/issues/2218 Closes https://github.com/rust-lang/rust/issues/52118 r? @petrochenkov | ||||
| 2019-06-18 | test: normalize away the line/column info in ui/pattern/const-pat-ice. | Eduard-Mihai Burtescu | -1/+2 | |
| 2019-06-15 | Move type_alias_enum_variants tests to a folder; Strip feature gates. | Mazdak Farrokhzad | -43/+0 | |
| 2019-06-12 | Run `rustfmt --file-lines ...` for changes from previous commits. | Eduard-Mihai Burtescu | -1/+1 | |
| 2019-06-05 | Reblessed tests. | Alexander Regueiro | -1/+1 | |
| 2019-05-25 | Update ui tests | Oliver Scherer | -1/+1 | |
| 2019-05-25 | Make `ConstValue::Slice` solely take `[u8]` and `str` | Oliver Scherer | -18/+6 | |
| 2019-05-21 | Add FAQ for NLL migration | Jethro Beekman | -0/+1 | |
| 2019-05-12 | Change compare mode to use -Zborrowck=mir | Matthew Jasper | -0/+22 | |
| 2019-05-10 | Fix inhabitedness of non-exhaustive variants. | David Wood | -1/+1 | |
| This commit ensures that non-exhaustive variants are considered inhabited when used in extern crates. | ||||
| 2019-04-22 | Fix ICE related to #53708 | Esteban Küber | -1/+1 | |
| 2019-04-22 | Never stop due to errors before borrow checking | Esteban Küber | -1/+20 | |
| 2019-04-18 | hide `--explain` hint if error has no extended info | Andy Russell | -3/+3 | |
| 2019-04-14 | normalize flags and rustc version in ICE repro | Ralf Jung | -2/+4 | |
| 2019-04-14 | fix tests | Ralf Jung | -0/+13 | |
| 2019-03-27 | Better diagnostic for binary operation on BoxedValues | hgallagher1993 | -2/+4 | |
| 2019-03-11 | Update tests | Vadim Petrochenkov | -34/+34 | |
| 2019-01-15 | Rollup merge of #57587 - Aaron1011:fix/const-pat-ice, r=alexcrichton | Mazdak Farrokhzad | -0/+1 | |
| Add 'rustc-env:RUST_BACKTRACE=0' to const-pat-ice test This ensures that the test passes, regardless of what the user has set RUST_BACKTRACE to. | ||||
| 2019-01-14 | Rollup merge of #57477 - euclio:clarify-lev-suggestion, r=zackmdavis | Mazdak Farrokhzad | -1/+1 | |
| clarify resolve typo suggestion Include the kind of the binding that we're suggesting, and use a structured suggestion. Fixes #53445. | ||||
| 2019-01-14 | Add 'rustc-env:RUST_BACKTRACE=0' to const-pat-ice test | Aaron Hill | -0/+1 | |
| This ensures that the test passes, regardless of what the user has set RUST_BACKTRACE to. | ||||
| 2019-01-13 | Rollup merge of #57366 - estebank:point-match-discrim, r=varkor | Mazdak Farrokhzad | -0/+4 | |
| Point at match discriminant on type error in match arm pattern ``` error[E0308]: mismatched types --> src/main.rs:5:9 | 4 | let temp: usize = match a + b { | ----- this expression has type `usize` 5 | Ok(num) => num, | ^^^^^^^ expected usize, found enum `std::result::Result` | = note: expected type `usize` found type `std::result::Result<_, _>` ``` Fix #57279. | ||||
| 2019-01-12 | Reword label as per review comment | Esteban Küber | -2/+2 | |
| 2019-01-12 | Point at the match discriminant when arm pattern has a type mismatch | Esteban Küber | -0/+4 | |
| 2019-01-12 | Stabilise irrefutable if-let and while-let patterns | varkor | -0/+85 | |
| This stabilises RFC 2086 (https://github.com/rust-lang/rust/issues/44495). Co-Authored-By: Sebastian Malton <sebastian@malton.name> | ||||
| 2019-01-09 | clarify resolve typo suggestion | Andy Russell | -1/+1 | |
| Include the kind of the binding that we're suggesting, and use a structured suggestion. | ||||
| 2018-12-25 | Remove licenses | Mark Rousskov | -126/+26 | |
| 2018-12-24 | make non_camel_case_types an early lint | Andy Russell | -13/+11 | |
| 2018-12-15 | Auto merge of #56540 - oli-obk:less_const_hackery, r=varkor | bors | -12/+158 | |
| Don't depend on `Allocation` sizes for pattern length And generally be more explicit about shortcomings of the implementation cc @RalfJung | ||||
| 2018-12-13 | Update tests to show diagnostics | Oliver Scherer | -19/+128 | |
| 2018-12-11 | Fix irrefutable matches on integer ranges | varkor | -0/+8 | |
| 2018-12-10 | Add a few more tests of edge cases | Oliver Scherer | -0/+37 | |
| 2018-11-29 | Fix another related ICE | Oliver Scherer | -1/+40 | |
| 2018-11-29 | r/\t/ / | Oliver Scherer | -21/+21 | |
| 2018-11-29 | Support arbitrary slice constants for pattern deaggregation | Oliver Scherer | -2/+24 | |
| 2018-11-29 | Allow constants of byte slice type as patterns | Oliver Scherer | -0/+11 | |
| 2018-11-18 | resolve: Avoid sentence breaks in diagnostics | Vadim Petrochenkov | -4/+4 | |
| 2018-11-18 | resolve: Tweak some articles in ambiguity diagnostics | Vadim Petrochenkov | -9/+9 | |
| 2018-08-14 | Merged migrated compile-fail tests and ui tests. Fixes #46841. | David Wood | -0/+542 | |
