]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #16196 : huonw/rust/fail-dead-code, r=alexcrichton
authorbors <bors@rust-lang.org>
Mon, 11 Aug 2014 09:01:06 +0000 (09:01 +0000)
committerbors <bors@rust-lang.org>
Mon, 11 Aug 2014 09:01:06 +0000 (09:01 +0000)
The fail macro defines some function/static items internally, which got
a dead_code warning when `fail!()` is used inside a dead function. This
is ugly and unnecessarily reveals implementation details, so the
warnings can be squashed.

Fixes #16192.


Trivial merge