rust/src/librustc_back
bors 8780d9c6b5 auto merge of #17134 : vberger/rust/lint_unused_extern_crate, r=alexcrichton
This PR creates a new lint : ``unused_extern_crate``, which do pretty much the same thing as ``unused_import``, but for ``extern crate`` statements. It is related to feature request #10385.

I adapted the code tracking used imports so that it tracks extern crates usage as well. This was mainly trial and error and while I believe all cases are covered, there might be some code I added that is useless (long compile times didn't give me the opportunity to check this in detail).

Also, I removed some unused ``extern crate`` statements from the libs, that where spotted by this new lint.
2014-09-12 19:05:53 +00:00
..
abi.rs DST coercions and DST structs 2014-08-26 12:38:51 +12:00
archive.rs libsyntax: Remove the use foo = bar syntax from the language in favor 2014-08-18 09:19:10 -07:00
arm.rs Replace all references to "Win32" with "Windows". 2014-08-12 00:10:26 -07:00
fs.rs rustc: Move util::fs to rustc_back 2014-07-14 12:27:07 -07:00
lib.rs Removing unused extern crates. 2014-09-12 11:24:31 +02:00
mips.rs Replace all references to "Win32" with "Windows". 2014-08-12 00:10:26 -07:00
mipsel.rs Replace all references to "Win32" with "Windows". 2014-08-12 00:10:26 -07:00
rpath.rs Replace all references to "Win32" with "Windows". 2014-08-12 00:10:26 -07:00
sha2.rs Rewrite read_u32v_be() and write_u32_be() to make sure that all memory access is properly aligned 2014-08-02 01:21:02 -04:00
svh.rs Track the visited AST's lifetime throughout Visitor. 2014-09-12 14:24:45 +03:00
target_strs.rs Extract librustc_back from librustc 2014-07-14 12:27:07 -07:00
x86.rs Replace all references to "Win32" with "Windows". 2014-08-12 00:10:26 -07:00
x86_64.rs Fix spelling errors and capitalization. 2014-09-03 23:10:38 -04:00