Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dead-code pass now marks and warns foreign items
- Loading branch information
Showing
5 changed files
with
48 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ | |
// except according to those terms. | ||
|
||
#[forbid(ctypes)]; | ||
#[allow(dead_code)]; | ||
|
||
mod xx { | ||
extern { | ||
|
71ce559
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from alexcrichton
at ktt3ja@71ce559
71ce559
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging ktt3ja/rust/issue-10865 = 71ce559 into auto
71ce559
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ktt3ja/rust/issue-10865 = 71ce559 merged ok, testing candidate = ccc5f52b
71ce559
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some tests failed:
failure: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/2068
exception: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/2958
exception: http://buildbot.rust-lang.org/builders/auto-mac-32-nopt-t/builds/803
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/2964
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/2067
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/2975
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/2069
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/2977
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/2068
exception: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/2962
exception: http://buildbot.rust-lang.org/builders/auto-bsd-64-opt/builds/2739