<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/test/ui/tuple, branch 1.41.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.41.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.41.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2019-11-26T18:24:36+00:00</updated>
<entry>
<title>Refactor 'parse_enum_item' to use 'parse_delim_comma_seq'</title>
<updated>2019-11-26T18:24:36+00:00</updated>
<author>
<name>Janusz Marcinkiewicz</name>
<email>virrages@gmail.com</email>
</author>
<published>2019-11-24T21:33:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5c34a11324b060b0492eb390c7e9b2abc9eb61a4'/>
<id>urn:sha1:5c34a11324b060b0492eb390c7e9b2abc9eb61a4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Specific labels when referring to "expected" and "found" types</title>
<updated>2019-11-18T19:02:22+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2019-11-13T22:16:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=83ffda5216a9a4248221b980ee08c30ac6e517f8'/>
<id>urn:sha1:83ffda5216a9a4248221b980ee08c30ac6e517f8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove "here" from "expected one of X here"</title>
<updated>2019-11-07T01:26:20+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2019-10-28T18:08:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=52e8ec14322e1f0c2cba5fc3c54e876e58a5ddee'/>
<id>urn:sha1:52e8ec14322e1f0c2cba5fc3c54e876e58a5ddee</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Gather together usefulness tests</title>
<updated>2019-10-27T21:20:26+00:00</updated>
<author>
<name>Nadrieril</name>
<email>nadrieril@gmail.com</email>
</author>
<published>2019-09-28T14:05:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=09f9947ebc68a8199c3dff8607a41571c48cc377'/>
<id>urn:sha1:09f9947ebc68a8199c3dff8607a41571c48cc377</id>
<content type='text'>
I took most tests that were testing only for match exhaustiveness,
pattern refutability or match arm reachability, and put them in
the same test folder.
</content>
</entry>
<entry>
<title>Correct pluralisation of tuple/array/associated type binding mismatch errors</title>
<updated>2019-05-28T20:35:20+00:00</updated>
<author>
<name>varkor</name>
<email>github@varkor.com</email>
</author>
<published>2019-05-27T13:28:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=56181cf8abf8ad7f7d36e92ef4d7bf294df23c4c'/>
<id>urn:sha1:56181cf8abf8ad7f7d36e92ef4d7bf294df23c4c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update tests</title>
<updated>2019-03-11T20:10:26+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2019-03-09T12:03:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fa72a81bea27f1fda4287475e4cc2f684c971e7f'/>
<id>urn:sha1:fa72a81bea27f1fda4287475e4cc2f684c971e7f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Point at enum definition when match patterns are not exhaustive</title>
<updated>2019-03-03T00:45:23+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2019-02-10T13:12:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0081ef2548f95171b33bbaedcd90253cf41916b2'/>
<id>urn:sha1:0081ef2548f95171b33bbaedcd90253cf41916b2</id>
<content type='text'>
```
error[E0004]: non-exhaustive patterns: type `X` is non-empty
 --&gt; file.rs:9:11
  |
1 | / enum X {
2 | |     A,
  | |     - variant not covered
3 | |     B,
  | |     - variant not covered
4 | |     C,
  | |     - variant not covered
5 | | }
  | |_- `X` defined here
...
9 |       match x {
  |             ^
  |
  = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms

error[E0004]: non-exhaustive patterns: `B` and `C` not covered
  --&gt; file.rs:11:11
   |
1  | / enum X {
2  | |     A,
3  | |     B,
4  | |     C,
   | |     - not covered
5  | | }
   | |_- `X` defined here
...
11 |       match x {
   |             ^ patterns `C` not covered
```

When a match expression doesn't have patterns covering every variant,
point at the enum's definition span. On a best effort basis, point at the
variant(s) that are missing. This does not handle the case when the missing
pattern is due to a field's enum variants:

```
enum E1 {
    A,
    B,
    C,
}
enum E2 {
    A(E1),
    B,
}
fn foo() {
    match E2::A(E1::A) {
        E2::A(E1::B) =&gt; {}
        E2::B =&gt; {}
    }
    //~^ ERROR `E2::A(E1::A)` and `E2::A(E1::C)` not handled
}
```

Unify look between match with no arms and match with some missing patterns.

Fix #37518.
</content>
</entry>
<entry>
<title>tests: Do not use `-Z parse-only`, continue compilation to test recovery</title>
<updated>2019-01-06T19:20:46+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2019-01-06T15:33:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1f64f60d5cba64beca6e812e16d6d99519d3551b'/>
<id>urn:sha1:1f64f60d5cba64beca6e812e16d6d99519d3551b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Auto merge of #57047 - euclio:field-structured-suggestions, r=estebank</title>
<updated>2018-12-31T20:56:19+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2018-12-31T20:56:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9eac386342c601b14311b435f2b6d314fc817bb5'/>
<id>urn:sha1:9eac386342c601b14311b435f2b6d314fc817bb5</id>
<content type='text'>
use structured suggestions for nonexistent fields

r? @estebank
</content>
</entry>
<entry>
<title>use structured suggestions for nonexistent fields</title>
<updated>2018-12-31T17:52:30+00:00</updated>
<author>
<name>Andy Russell</name>
<email>arussell123@gmail.com</email>
</author>
<published>2018-12-20T23:10:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=dfc326d0e212bd644d04906ca21bb012cf970cb4'/>
<id>urn:sha1:dfc326d0e212bd644d04906ca21bb012cf970cb4</id>
<content type='text'>
</content>
</entry>
</feed>
