rust/src/libsyntax
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
..
ast_map Register new snapshots 2014-08-29 14:33:08 -07:00
diagnostics Implement generalized object and type parameter bounds (Fixes #16462) 2014-08-27 21:46:52 -04:00
ext Track the visited AST's lifetime throughout Visitor. 2014-09-12 14:24:45 +03:00
parse auto merge of #16866 : P1start/rust/tuple-indexing, r=brson 2014-09-11 00:05:41 +00:00
print Implement tuple and tuple struct indexing 2014-09-10 10:25:12 +12:00
util Fix spelling errors and capitalization. 2014-09-03 23:10:38 -04:00
abi.rs Unify non-snake-case lints and non-uppercase statics lints 2014-08-30 09:10:05 +12:00
ast_util.rs Track the visited AST's lifetime throughout Visitor. 2014-09-12 14:24:45 +03:00
ast.rs Implement tuple and tuple struct indexing 2014-09-10 10:25:12 +12:00
attr.rs make separate compilation respect #[inline] attributes 2014-09-05 09:18:57 -07:00
codemap.rs ignore-lexer-test to broken files and remove some tray hyphens 2014-07-21 10:59:58 -07:00
crateid.rs core: Change the argument order on splitn and rsplitn for strs. 2014-08-13 15:27:37 -07:00
diagnostic.rs Removing unused extern crates. 2014-09-12 11:24:31 +02:00
fold.rs Implement tuple and tuple struct indexing 2014-09-10 10:25:12 +12:00
lib.rs Register new snapshots 2014-08-29 14:33:08 -07:00
owned_slice.rs fix sized deallocation for OwnedSlice 2014-09-06 13:58:34 -04:00
visit.rs Track the visited AST's lifetime throughout Visitor. 2014-09-12 14:24:45 +03:00