fn check_float_base(&mut self, start_bpos: BytePos, last_bpos: BytePos, base: usize) {
        match base {
            16 => self.err_span_(start_bpos, last_bpos, "hexadecimal float literal is not \
                                   supported"),
            8 => self.err_span_(start_bpos, last_bpos, "octal float literal is not supported"),
            2 => self.err_span_(start_bpos, last_bpos, "binary float literal is not supported"),
            _   => ()
        }
    }
/// Check that a base is valid for a floating literal, emitting a nice
/// error if it isn't.
Check that a base is valid for a floating literal, emitting a nice
error if it isn't.
Check that a base is valid for a floating literal emitting a nice error if it isn ' t .
fn check_float_base(&mut self, start_bpos: BytePos, last_bpos: BytePos, base: usize) {
        match base {
            16 => self.err_span_(start_bpos, last_bpos, "hexadecimal float literal is not \
                                   supported"),
            8 => self.err_span_(start_bpos, last_bpos, "octal float literal is not supported"),
            2 => self.err_span_(start_bpos, last_bpos, "binary float literal is not supported"),
            _   => ()
        }
    }
fn check_float_base ( & mut self , start_bpos : BytePos , last_bpos : BytePos , base : usize ) { match base { 16 => self . err_span_ ( start_bpos , last_bpos , " \
 " ) , 8 => self . err_span_ ( start_bpos , last_bpos , " " ) , 2 => self . err_span_ ( start_bpos , last_bpos , " " ) , _ => ( ) } }
Check that a base is valid for a floating literal, emitting a nice
error if it isn't.
Check that a base is valid for a floating literal emitting a nice error if it isn ' t .
&mut self
start_bpos
BytePos
last_bpos
BytePos
base
usize