<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/test/run-pass/issues, branch master</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=master</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2019-07-27T15:56:17+00:00</updated>
<entry>
<title>tests: Move run-pass tests with naming conflicts to ui</title>
<updated>2019-07-27T15:56:17+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2019-07-26T23:07:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5486cc69bdcc1c0027d7d06cd7630a2c48e3b063'/>
<id>urn:sha1:5486cc69bdcc1c0027d7d06cd7630a2c48e3b063</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: Move run-pass tests without naming conflicts to ui</title>
<updated>2019-07-27T15:56:16+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2019-07-26T22:33:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9be35f82c1abf2ecbab489bca9eca138ea648312'/>
<id>urn:sha1:9be35f82c1abf2ecbab489bca9eca138ea648312</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: Add missing run-pass annotations</title>
<updated>2019-07-27T15:56:13+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2019-07-26T21:54:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ca9faa52f5ada0054b1fa27d97aedf448afb059b'/>
<id>urn:sha1:ca9faa52f5ada0054b1fa27d97aedf448afb059b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Stabilize the type_name intrinsic in core::any</title>
<updated>2019-07-25T04:35:49+00:00</updated>
<author>
<name>Steven Fackler</name>
<email>sfackler@gmail.com</email>
</author>
<published>2019-04-18T02:38:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=91fa898975609f09f33e3e03fa8706c31a6b7d9b'/>
<id>urn:sha1:91fa898975609f09f33e3e03fa8706c31a6b7d9b</id>
<content type='text'>
Closes rust-lang/rfcs#1428
</content>
</entry>
<entry>
<title>Auto merge of #62584 - eddyb:circular-math-is-hard, r=pnkfelix</title>
<updated>2019-07-13T20:45:40+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2019-07-13T20:45:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d32a7250dbf797c9a89f56de0842d7ad43bfe85f'/>
<id>urn:sha1:d32a7250dbf797c9a89f56de0842d7ad43bfe85f</id>
<content type='text'>
 rustc_codegen_ssa: fix range check in codegen_get_discr.

Fixes #61696, see https://github.com/rust-lang/rust/issues/61696#issuecomment-505473018 for more details.

In short, I had wanted to use `x - a &lt;= b - a` to check whether `x` is in `a..=b` (as it's 1 comparison instead of 2 *and* `b - a` is guaranteed to fit in the same data type, while `b` itself might not), but I ended up with `x - a + c &lt;= b - a + c` instead, because `x - a + c` was the final value needed.

That latter comparison is equivalent to checking that `x` is in `(a - c)..=b`, i.e. it also includes `(a - c)..a`, not just `a..=b`, so if `c` is not `0`, it will cause false positives.

This presented itself as the non-niche ("dataful") variant sometimes being treated like a niche variant, in the presence of uninhabited variants (which made `c`, aka the index of the first niche variant, arbitrarily large).

r? @nagisa, @rkruppe or @oli-obk
</content>
</entry>
<entry>
<title>rustc_codegen_ssa: fix range check in codegen_get_discr.</title>
<updated>2019-07-12T14:45:41+00:00</updated>
<author>
<name>Eduard-Mihai Burtescu</name>
<email>edy.burt@gmail.com</email>
</author>
<published>2019-07-04T08:18:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c063057beb96cd4901ab300eed2267c9b73ed589'/>
<id>urn:sha1:c063057beb96cd4901ab300eed2267c9b73ed589</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove feature gate `dropck_parametricity` completely</title>
<updated>2019-07-11T18:44:56+00:00</updated>
<author>
<name>Lzu Tao</name>
<email>taolzu@gmail.com</email>
</author>
<published>2019-07-11T18:44:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8347917dd955e40c813867e0fddb52c3adb4711c'/>
<id>urn:sha1:8347917dd955e40c813867e0fddb52c3adb4711c</id>
<content type='text'>
Therefore we also remove `#[unsafe_destructor_blind_to_params]`
attribute completly.
</content>
</entry>
<entry>
<title>Replace unsafe_destructor_blind_to_params with may_dangle</title>
<updated>2019-07-11T18:14:56+00:00</updated>
<author>
<name>Lzu Tao</name>
<email>taolzu@gmail.com</email>
</author>
<published>2019-07-10T18:49:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ab3adf380d09005e2deea002ac172135a5c158f0'/>
<id>urn:sha1:ab3adf380d09005e2deea002ac172135a5c158f0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Permit use of mem::uninitialized via allow(deprecated)</title>
<updated>2019-07-05T01:01:35+00:00</updated>
<author>
<name>Mark Rousskov</name>
<email>mark.simulacrum@gmail.com</email>
</author>
<published>2019-07-04T15:24:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=007d87f1719e2fcf2ff36aef8b6dc866fa276386'/>
<id>urn:sha1:007d87f1719e2fcf2ff36aef8b6dc866fa276386</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix run-pass tests</title>
<updated>2019-06-30T17:19:28+00:00</updated>
<author>
<name>varkor</name>
<email>github@varkor.com</email>
</author>
<published>2019-06-29T15:51:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=75f31e78b8a892f6b901f8247684f062be1eb640'/>
<id>urn:sha1:75f31e78b8a892f6b901f8247684f062be1eb640</id>
<content type='text'>
</content>
</entry>
</feed>
