<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/test/rustdoc/issue-55321.rs, branch 1.45.2</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.45.2</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.45.2'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2020-05-05T20:56:23+00:00</updated>
<entry>
<title>Update tests</title>
<updated>2020-05-05T20:56:23+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume1.gomez@gmail.com</email>
</author>
<published>2020-05-05T11:48:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cf184823d1d5b290e051ae1d6344865dfed97d1e'/>
<id>urn:sha1:cf184823d1d5b290e051ae1d6344865dfed97d1e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>introduce `negative_impls` feature gate and document</title>
<updated>2020-03-26T10:52:55+00:00</updated>
<author>
<name>Niko Matsakis</name>
<email>niko@alum.mit.edu</email>
</author>
<published>2020-01-09T10:56:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fda3378e3fcf279a19409ef368ce9bd5b57bfd62'/>
<id>urn:sha1:fda3378e3fcf279a19409ef368ce9bd5b57bfd62</id>
<content type='text'>
They used to be covered by `optin_builtin_traits` but negative impls
are now applicable to all traits, not just auto traits.

This also adds docs in the unstable book for the current state of auto traits.
</content>
</entry>
<entry>
<title>Simplify foreign type rendering.</title>
<updated>2018-12-28T05:22:27+00:00</updated>
<author>
<name>John Heitmann</name>
<email>jheitmann@gmail.com</email>
</author>
<published>2018-12-27T05:23:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=34bd2b845b3acd84c5a9bddae3ff8081c19ec5e9'/>
<id>urn:sha1:34bd2b845b3acd84c5a9bddae3ff8081c19ec5e9</id>
<content type='text'>
Simplified foreign type rendering by switching from tables to flexbox. Also, removed some seemingly extraneous elements like “ghost” spans.

Reduces element count on std::iter::Iterator by 30%.
</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>
<entry>
<title>Check for negative impls when finding auto traits</title>
<updated>2018-10-25T19:14:32+00:00</updated>
<author>
<name>Aaron Hill</name>
<email>aa1ronham@gmail.com</email>
</author>
<published>2018-10-25T19:14:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=098c659276d60fff7e0f225e1d6bc7d05591319e'/>
<id>urn:sha1:098c659276d60fff7e0f225e1d6bc7d05591319e</id>
<content type='text'>
Fixes #55321

When AutoTraitFinder begins examining a type, it checks for an explicit
negative impl. However, it wasn't checking for negative impls found when
calling 'select' on predicates found from nested obligations.

This commit makes AutoTraitFinder check for negative impls whenever it
makes a call to 'select'. If a negative impl is found, it immediately
bails out.

Normal users of SelectioContext don't need to worry about this, since
they stop as soon as an Unimplemented error is encountered. However, we
add predicates to our ParamEnv when we encounter this error, so we need
to handle negative impls specially (so that we don't try adding them to
our ParamEnv).
</content>
</entry>
</feed>
