rust/src/test
Mazdak Farrokhzad d7c1e0d1bf
Rollup merge of #57366 - estebank:point-match-discrim, r=varkor
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-13 21:18:12 +01:00
..
auxiliary Remove licenses 2018-12-25 21:08:33 -07:00
codegen Remove licenses 2018-12-25 21:08:33 -07:00
codegen-units Remove licenses 2018-12-25 21:08:33 -07:00
compile-fail Stabilize let bindings and destructuring in constants and const fn 2019-01-09 10:20:12 +01:00
compile-fail-fulldeps/auxiliary Store Ident rather than just Name in HIR types Item and ForeignItem. 2018-12-26 21:26:37 +00:00
debuginfo Fix repeated word typos 2019-01-03 21:33:37 +01:00
incremental Fix unresolved inference variable ICE. 2018-12-30 14:30:59 +01:00
mir-opt Refactor UserTypeAnnotation. 2018-12-30 14:25:20 +01:00
pretty Remove licenses 2018-12-25 21:08:33 -07:00
run-fail Remove licenses 2018-12-25 21:08:33 -07:00
run-fail-fulldeps Remove licenses 2018-12-25 21:08:33 -07:00
run-make Remove licenses 2018-12-25 21:08:33 -07:00
run-make-fulldeps Auto merge of #57286 - alexcrichton:less-thin-2-2, r=nikomatsakis 2019-01-06 02:26:20 +00:00
run-pass Auto merge of #57567 - Centril:stabilize-transpose, r=alexreg 2019-01-13 14:35:40 +00:00
run-pass-fulldeps Get rid of Block::recovered 2018-12-27 15:51:36 +03:00
run-pass-valgrind Remove licenses 2018-12-25 21:08:33 -07:00
rustdoc Rollup merge of #56874 - JohnHeitmann:docs-spacing, r=GuillaumeGomez 2019-01-13 21:18:09 +01:00
rustdoc-js Remove licenses 2018-12-25 21:08:33 -07:00
rustdoc-ui check missing docs for reexported macros as well 2019-01-06 18:55:55 +01:00
rustfix tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
ui Rollup merge of #57366 - estebank:point-match-discrim, r=varkor 2019-01-13 21:18:12 +01:00
ui-fulldeps Store Ident rather than just Name in HIR types Item and ForeignItem. 2018-12-26 21:26:37 +00:00
COMPILER_TESTS.md rustc-guide has moved 2018-11-26 15:03:13 -06:00