<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/test/ui/or-patterns, branch 1.43.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.43.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.43.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2020-03-08T10:51:14+00:00</updated>
<entry>
<title>Rollup merge of #69599 - Centril:typeck-tweak-wording, r=davidtwco</title>
<updated>2020-03-08T10:51:14+00:00</updated>
<author>
<name>Mazdak Farrokhzad</name>
<email>twingoow@gmail.com</email>
</author>
<published>2020-03-08T10:51:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c717721c1b9e076739b4fbf44a83cc9c77008853'/>
<id>urn:sha1:c717721c1b9e076739b4fbf44a83cc9c77008853</id>
<content type='text'>
check_binding_alt_eq_ty: improve precision wrt. `if let`

Follow up to https://github.com/rust-lang/rust/pull/69452 -- this tweaks the `check_binding_alt_eq_ty` logic wrt. wording so that `if let` doesn't include "in this arm" (because there can only ever be one arm).

r? @estebank
</content>
</entry>
<entry>
<title>Rollup merge of #69687 - Centril:bm-inconsistent-wording, r=estebank</title>
<updated>2020-03-07T16:27:27+00:00</updated>
<author>
<name>Mazdak Farrokhzad</name>
<email>twingoow@gmail.com</email>
</author>
<published>2020-03-07T16:27:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=289c3a5f6e8813886d148b7c194c137b6ae29551'/>
<id>urn:sha1:289c3a5f6e8813886d148b7c194c137b6ae29551</id>
<content type='text'>
resolve, inconsistent binding mode: tweak wording

Now that we can have e.g. `let Ok(x) | Err(x) = res;`, it's no longer appropriate to refer to "the same *match arm*", so let's tweak the wording.

r? @estebank
</content>
</entry>
<entry>
<title>fix tidy error</title>
<updated>2020-03-04T08:05:23+00:00</updated>
<author>
<name>Matthew Kuo</name>
<email>matthew.kuo@dialexa.com</email>
</author>
<published>2020-03-04T08:05:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ea7b3c3c7bfbde2fc900f686b2dcd6ef03fcc510'/>
<id>urn:sha1:ea7b3c3c7bfbde2fc900f686b2dcd6ef03fcc510</id>
<content type='text'>
</content>
</entry>
<entry>
<title>test(pattern): harden tests for or-patterns with slice-patterns</title>
<updated>2020-03-04T07:33:32+00:00</updated>
<author>
<name>Matthew Kuo</name>
<email>matthew.kuo@dialexa.com</email>
</author>
<published>2020-03-04T07:33:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b4788a739b5dd040a969135bf46dc633c39fce16'/>
<id>urn:sha1:b4788a739b5dd040a969135bf46dc633c39fce16</id>
<content type='text'>
Some of the nested OR paths were being missed
</content>
</entry>
<entry>
<title>test(pattern): add tests for combinations of pattern features</title>
<updated>2020-03-04T07:17:41+00:00</updated>
<author>
<name>Matthew Kuo</name>
<email>matthew.kuo@dialexa.com</email>
</author>
<published>2020-03-04T07:09:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=54561148581f002793ab42893de4e3f7c26bd7ed'/>
<id>urn:sha1:54561148581f002793ab42893de4e3f7c26bd7ed</id>
<content type='text'>
Reference issue #67311

Tests combinations of the following pattern features:
- bindings_after_at
- or_patterns
- slice_patterns
- box_patterns
</content>
</entry>
<entry>
<title>resolve, inconsistent binding mode: tweak wording.</title>
<updated>2020-03-04T02:58:52+00:00</updated>
<author>
<name>Mazdak Farrokhzad</name>
<email>twingoow@gmail.com</email>
</author>
<published>2020-03-04T02:58:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cc9aad452a315d953cebb57547a988aff6aeb563'/>
<id>urn:sha1:cc9aad452a315d953cebb57547a988aff6aeb563</id>
<content type='text'>
</content>
</entry>
<entry>
<title>check_binding_alt_eq_ty: improve precision wrt. `if let`.</title>
<updated>2020-03-01T02:52:45+00:00</updated>
<author>
<name>Mazdak Farrokhzad</name>
<email>twingoow@gmail.com</email>
</author>
<published>2020-03-01T02:52:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2746e12948ee4d152f8d8acfb5873f970effe501'/>
<id>urn:sha1:2746e12948ee4d152f8d8acfb5873f970effe501</id>
<content type='text'>
</content>
</entry>
<entry>
<title>improve or-pattern type consistency diagnostics</title>
<updated>2020-02-25T04:30:43+00:00</updated>
<author>
<name>Mazdak Farrokhzad</name>
<email>twingoow@gmail.com</email>
</author>
<published>2020-02-25T04:30:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1d33717583c34bb09fcef236884774ae082cc1fd'/>
<id>urn:sha1:1d33717583c34bb09fcef236884774ae082cc1fd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #68856 - Centril:or-pat-ref-pat, r=matthewjasper</title>
<updated>2020-02-14T22:17:47+00:00</updated>
<author>
<name>Yuki Okushi</name>
<email>huyuumi.dev@gmail.com</email>
</author>
<published>2020-02-14T22:17:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=829a3635e45f59546e9b5ac0716ea9e0c694456c'/>
<id>urn:sha1:829a3635e45f59546e9b5ac0716ea9e0c694456c</id>
<content type='text'>
typeck: clarify def_bm adjustments &amp; add tests for or-patterns

Clarify the adjustment algorithm for the expected type / default binding-modes when type checking patterns with more documentation and tweaks that make the algorithm more independent of the pattern forms.

Also resolve the FIXME noted for or-patterns by deciding that the current implementation is correct, noting the rationale and adding tests for the current implementation.

cc https://github.com/rust-lang/rust/issues/54883

r? @oli-obk @varkor
</content>
</entry>
<entry>
<title>--bless --compare-mode=nll</title>
<updated>2020-02-09T19:43:49+00:00</updated>
<author>
<name>Matthias Prechtl</name>
<email>m.sleepypanda@gmail.com</email>
</author>
<published>2020-02-07T12:07:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7b555178aef4045685eb359204b565a4bb8d1a9f'/>
<id>urn:sha1:7b555178aef4045685eb359204b565a4bb8d1a9f</id>
<content type='text'>
</content>
</entry>
</feed>
