File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
librustc_mir/transform/nll Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -47,16 +47,16 @@ macro_rules! newtype_index {
4747
4848 impl Idx for $name {
4949 fn new( value: usize ) -> Self {
50- assert!( value < ( u32 :: MAX ) as usize ) ;
50+ assert!( value < ( :: std :: u32 :: MAX ) as usize ) ;
5151 $name( value as u32 )
5252 }
5353 fn index( self ) -> usize {
5454 self . 0 as usize
5555 }
5656 }
5757
58- impl Debug for $name {
59- fn fmt( & self , fmt: & mut Formatter ) -> fmt:: Result {
58+ impl :: std :: fmt :: Debug for $name {
59+ fn fmt( & self , fmt: & mut :: std :: fmt :: Formatter ) -> :: std :: fmt:: Result {
6060 write!( fmt, "{}{}" , $debug_name, self . 0 )
6161 }
6262 }
Original file line number Diff line number Diff line change @@ -19,8 +19,6 @@ use rustc::util::nodemap::FxHashSet;
1919use rustc_data_structures:: indexed_vec:: { IndexVec , Idx } ;
2020use syntax_pos:: DUMMY_SP ;
2121use std:: collections:: HashMap ;
22- use std:: fmt:: { self , Debug , Formatter } ;
23- use std:: u32;
2422
2523#[ allow( dead_code) ]
2624struct NLLVisitor < ' a , ' gcx : ' a + ' tcx , ' tcx : ' a > {
You can’t perform that action at this time.
0 commit comments