<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/test/compile-fail/lint-dead-code-variant.rs, branch 1.27.2</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.27.2</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.27.2'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2017-11-19T18:15:36+00:00</updated>
<entry>
<title>dead code lint to say "never constructed" for variants</title>
<updated>2017-11-19T18:15:36+00:00</updated>
<author>
<name>Zack M. Davis</name>
<email>code@zackmdavis.net</email>
</author>
<published>2017-11-19T18:15:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1a9dc2e9023ffd42d7c1b06bf149a98df7a911af'/>
<id>urn:sha1:1a9dc2e9023ffd42d7c1b06bf149a98df7a911af</id>
<content type='text'>
As reported in #19140, #44083, and #44565, some users were confused when
the dead-code lint reported an enum variant to be "unused" when it was
matched on (but not constructed). This wording change makes it clearer
that the lint is in fact checking for construction.

We continue to say "used" for all other items (it's tempting to say
"called" for functions and methods, but this turns out not to be
correct: functions can be passed as arguments and the dead-code lint
isn't special-casing that or anything).

Resolves #19140.
</content>
</entry>
<entry>
<title>Extend dead code lint to detect more unused enum variants</title>
<updated>2015-06-02T11:31:40+00:00</updated>
<author>
<name>Seo Sanghyeon</name>
<email>sanxiyn@gmail.com</email>
</author>
<published>2015-06-02T11:31:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5af8b5f72b6cafc4cbe88e449cd53fefbc54c34d'/>
<id>urn:sha1:5af8b5f72b6cafc4cbe88e449cd53fefbc54c34d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Revert "Extend dead code lint to detect more unused enum variants"</title>
<updated>2015-03-14T06:44:32+00:00</updated>
<author>
<name>Manish Goregaokar</name>
<email>manishsmail@gmail.com</email>
</author>
<published>2015-03-14T06:44:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c908d1c1f996e46ce9ec82b0add26e0c5a18b5c3'/>
<id>urn:sha1:c908d1c1f996e46ce9ec82b0add26e0c5a18b5c3</id>
<content type='text'>
This reverts commit b042ffc4a768c2bd6d7588b1b2f47af22669c2cb.

Conflicts:
	src/librustc/middle/pat_util.rs
</content>
</entry>
<entry>
<title>Extend dead code lint to detect more unused enum variants</title>
<updated>2015-02-03T11:28:17+00:00</updated>
<author>
<name>Seo Sanghyeon</name>
<email>sanxiyn@gmail.com</email>
</author>
<published>2015-01-21T14:10:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b042ffc4a768c2bd6d7588b1b2f47af22669c2cb'/>
<id>urn:sha1:b042ffc4a768c2bd6d7588b1b2f47af22669c2cb</id>
<content type='text'>
</content>
</entry>
</feed>
