rust/src/librustc/middle
Felix S. Klock II 0d5bcb14ad Switched to Box::new in many places.
Many of the modifications putting in `Box::new` calls also include a
pointer to Issue 22405, which tracks going back to `box <expr>` if
possible in the future.

(Still tried to use `Box<_>` where it sufficed; thus some tests still
have `box_syntax` enabled, as they use a mix of `box` and `Box::new`.)

Precursor for overloaded-`box` and placement-`in`; see Issue 22181.
2015-03-03 21:05:55 +01:00
..
cfg Implement <T>::method UFCS expression syntax. 2015-02-24 14:16:02 +02:00
infer Remove the synthetic "region bound" from closures and instead update how 2015-03-02 05:45:41 -05:00
traits Remove the synthetic "region bound" from closures and instead update how 2015-03-02 05:45:41 -05:00
astconv_util.rs remove some compiler warnings 2015-02-26 07:21:26 +02:00
astencode.rs Add core::num::wrapping and fix overflow errors. 2015-03-03 12:10:19 +01:00
check_const.rs Address arith-overflow and error-handling in const_eval.rs. 2015-03-03 12:10:57 +01: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 Switch to eval_const_expr_partial when check_match.rs checks for NaN. 2015-03-03 12:10:58 +01:00
check_rvalues.rs core: split into fmt::Show and fmt::String 2015-01-06 14:49:42 -08:00
check_static_recursion.rs Implement <T>::method UFCS expression syntax. 2015-02-24 14:16:02 +02:00
const_eval.rs Switched to Box::new in many places. 2015-03-03 21:05:55 +01:00
dataflow.rs core: Audit num module for int/uint 2015-03-02 16:12:46 -08:00
dead.rs rustc: combine partial_def_map and last_private_map into def_map. 2015-02-24 14:16:02 +02:00
def.rs rustc: combine partial_def_map and last_private_map into def_map. 2015-02-24 14:16:02 +02:00
dependency_format.rs Remove remaining uses of []. This time I tried to use deref coercions where possible. 2015-02-20 14:08:14 -05:00
effect.rs Implement <T>::method UFCS expression syntax. 2015-02-24 14:16:02 +02:00
entry.rs Revert #22051 2015-02-11 19:28:02 +02:00
expr_use_visitor.rs Implement <T>::method UFCS expression syntax. 2015-02-24 14:16:02 +02:00
fast_reject.rs Remove the synthetic "region bound" from closures and instead update how 2015-03-02 05:45:41 -05:00
graph.rs Implement RFC 580 2015-02-18 14:01:46 -05:00
intrinsicck.rs Register new snapshots 2015-01-06 15:24:24 -08:00
lang_items.rs core: Audit num module for int/uint 2015-03-02 16:12:46 -08:00
liveness.rs Rollup merge of #22876 - Florob:const, r=nikomatsakis 2015-03-03 17:02:20 +05:30
mem_categorization.rs Remove the synthetic "region bound" from closures and instead update how 2015-03-02 05:45:41 -05:00
pat_util.rs rustc: combine partial_def_map and last_private_map into def_map. 2015-02-24 14:16:02 +02:00
privacy.rs rustc: combine partial_def_map and last_private_map into def_map. 2015-02-24 14:16:02 +02:00
reachable.rs Implement <T>::method UFCS expression syntax. 2015-02-24 14:16:02 +02:00
recursion_limit.rs for x in xs.iter() -> for x in &xs 2015-02-02 13:40:18 -05:00
region.rs Remove the synthetic "region bound" from closures and instead update how 2015-03-02 05:45:41 -05:00
resolve_lifetime.rs Implement <T>::method UFCS expression syntax. 2015-02-24 14:16:02 +02:00
stability.rs Check stability of struct fields. 2015-02-26 16:26:34 +11:00
subst.rs Remove remaining uses of []. This time I tried to use deref coercions where possible. 2015-02-20 14:08:14 -05:00
ty.rs Auto merge of #22532 - pnkfelix:arith-overflow, r=pnkfelix,eddyb 2015-03-03 14:18:03 +00:00
ty_fold.rs Remove the synthetic "region bound" from closures and instead update how 2015-03-02 05:45:41 -05:00
ty_walk.rs Remove the synthetic "region bound" from closures and instead update how 2015-03-02 05:45:41 -05:00
weak_lang_items.rs Replace all uses of &foo[] with &foo[..] en masse. 2015-02-18 17:36:03 -05:00