<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/test/ui/tuple, branch 1.40.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.40.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.40.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2019-10-27T21:20:26+00:00</updated>
<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>
<entry>
<title>Fix rebase and more CI failures</title>
<updated>2018-12-27T12:51:37+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2018-12-27T00:07:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=bc16edeb28e38e5bbed8828fb6314b1cc5151235'/>
<id>urn:sha1:bc16edeb28e38e5bbed8828fb6314b1cc5151235</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Do not abort compilation if expansion produces errors</title>
<updated>2018-12-27T12:51:36+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2018-12-16T17:23:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fff01ccfa805ccef67827bf1ea84e21d61d13e6f'/>
<id>urn:sha1:fff01ccfa805ccef67827bf1ea84e21d61d13e6f</id>
<content type='text'>
Fix a number of uncovered deficiencies in diagnostics
</content>
</entry>
<entry>
<title>Remove licenses</title>
<updated>2018-12-26T04:08:33+00:00</updated>
<author>
<name>Mark Rousskov</name>
<email>mark.simulacrum@gmail.com</email>
</author>
<published>2018-12-25T15:56:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2a663555ddf36f6b041445894a8c175cd1bc718c'/>
<id>urn:sha1:2a663555ddf36f6b041445894a8c175cd1bc718c</id>
<content type='text'>
</content>
</entry>
</feed>
