File tree Expand file tree Collapse file tree 4 files changed +3
-4
lines changed Expand file tree Collapse file tree 4 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -577,6 +577,7 @@ mod tests {
577577 #[test] #[should_fail]
578578 fn test_ascii_fail_char_slice() { 'λ'.to_ascii(); }
579579
580+ #[test]
580581 fn test_opt() {
581582 assert_eq!(65u8.to_ascii_opt(), Some(Ascii { chr: 65u8 }));
582583 assert_eq!(255u8.to_ascii_opt(), None);
Original file line number Diff line number Diff line change @@ -99,9 +99,8 @@ impl Writer for UdpStream {
9999#[ cfg( test) ]
100100mod test {
101101 use super :: * ;
102- use io:: net:: ip:: { Ipv4Addr , SocketAddr } ;
102+ use io:: net:: ip:: { SocketAddr } ;
103103 use io:: * ;
104- use io:: test:: * ;
105104 use prelude:: * ;
106105
107106 iotest ! ( fn bind_error( ) {
Original file line number Diff line number Diff line change @@ -54,7 +54,6 @@ mod test {
5454 use unstable:: run_in_bare_thread;
5555 use super :: * ;
5656 use rt:: task:: Task ;
57- use rt:: local_ptr;
5857
5958 #[ test]
6059 fn thread_local_task_smoke_test ( ) {
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ impl TyVisitor for MyVisitor {
6565 fn visit_estr_uniq ( & mut self ) -> bool { true }
6666 fn visit_estr_slice ( & mut self ) -> bool { true }
6767 fn visit_estr_fixed ( & mut self ,
68- _sz : uint , _sz : uint ,
68+ _sz : uint , _sz2 : uint ,
6969 _align : uint ) -> bool { true }
7070
7171 fn visit_box ( & mut self , _mtbl : uint , _inner : * TyDesc ) -> bool { true }
You can’t perform that action at this time.
0 commit comments