rust/src/librustc/middle
Leo Testard 73201fd675 Make the live code analysis visit method declarations.
The live code analysis only visited the function's body when visiting a
method, and not the FnDecl and the generics, resulting in code to be
incorrectly marked as unused when it only appeared in the generics, the
arguments, or the return type, whereas the same code in non-method
functions was correctly detected as used. Fixes #20343.
2015-02-10 18:27:05 +01:00
..
cfg for x in xs.iter() -> for x in &xs 2015-02-02 13:40:18 -05:00
infer cleanup: replace as[_mut]_slice() calls with deref coercions 2015-02-05 13:45:01 -05:00
traits cleanup: replace as[_mut]_slice() calls with deref coercions 2015-02-05 13:45:01 -05:00
astconv_util.rs More deprecating of i/u suffixes in libraries 2015-02-01 10:34:16 +00:00
astencode.rs cleanup: replace as[_mut]_slice() calls with deref coercions 2015-02-05 13:45:01 -05:00
check_const.rs remove all kind annotations from closures 2015-02-04 20:06:08 -05:00
check_loop.rs Remove the explicit closure kind syntax from the parser and AST; 2015-02-03 11:56:16 -05:00
check_match.rs remove all kind annotations from closures 2015-02-04 20:06:08 -05:00
check_rvalues.rs
check_static_recursion.rs
check_static.rs
const_eval.rs for x in xs.iter() -> for x in &xs 2015-02-02 13:40:18 -05:00
dataflow.rs cleanup: replace as[_mut]_slice() calls with deref coercions 2015-02-05 13:45:01 -05:00
dead.rs Make the live code analysis visit method declarations. 2015-02-10 18:27:05 +01:00
def.rs s/Show/Debug/g 2015-01-29 07:49:02 -05:00
dependency_format.rs for x in xs.iter() -> for x in &xs 2015-02-02 13:40:18 -05:00
effect.rs
entry.rs cleanup: replace as[_mut]_slice() calls with deref coercions 2015-02-05 13:45:01 -05:00
expr_use_visitor.rs cleanup: replace as[_mut]_slice() calls with deref coercions 2015-02-05 13:45:01 -05:00
fast_reject.rs
graph.rs cleanup: replace as[_mut]_slice() calls with deref coercions 2015-02-05 13:45:01 -05:00
intrinsicck.rs
lang_items.rs cleanup: replace as[_mut]_slice() calls with deref coercions 2015-02-05 13:45:01 -05:00
liveness.rs Remove the explicit closure kind syntax from the parser and AST; 2015-02-03 11:56:16 -05:00
mem_categorization.rs Remove the explicit closure kind syntax from the parser and AST; 2015-02-03 11:56:16 -05:00
pat_util.rs
privacy.rs s/Show/Debug/g 2015-01-29 07:49:02 -05:00
reachable.rs for x in xs.iter() -> for x in &xs 2015-02-02 13:40:18 -05:00
recursion_limit.rs for x in xs.iter() -> for x in &xs 2015-02-02 13:40:18 -05:00
region.rs remove all kind annotations from closures 2015-02-04 20:06:08 -05:00
resolve_lifetime.rs cleanup: replace as[_mut]_slice() calls with deref coercions 2015-02-05 13:45:01 -05:00
stability.rs cleanup: replace as[_mut]_slice() calls with deref coercions 2015-02-05 13:45:01 -05:00
subst.rs cleanup: replace as[_mut]_slice() calls with deref coercions 2015-02-05 13:45:01 -05:00
ty_fold.rs Add Clone to the list of bounds for a TypeFolder. (Kill?) 2015-01-28 05:15:24 -05:00
ty_walk.rs cleanup: replace as[_mut]_slice() calls with deref coercions 2015-02-05 13:45:01 -05:00
ty.rs cleanup: replace as[_mut]_slice() calls with deref coercions 2015-02-05 13:45:01 -05:00
weak_lang_items.rs cleanup: replace as[_mut]_slice() calls with deref coercions 2015-02-05 13:45:01 -05:00