File tree Expand file tree Collapse file tree 10 files changed +8
-13
lines changed Expand file tree Collapse file tree 10 files changed +8
-13
lines changed Original file line number Diff line number Diff line change 1212
1313#![ feature( box_syntax) ]
1414#![ feature( collections) ]
15- #![ feature( core) ]
1615#![ feature( int_uint) ]
1716#![ feature( io) ]
1817#![ feature( os) ]
Original file line number Diff line number Diff line change 9090
9191#![ deny( missing_docs) ]
9292#![ feature( collections) ]
93- #![ feature( core) ]
9493#![ feature( int_uint) ]
9594#![ feature( slicing_syntax) ]
9695#![ feature( staged_api) ]
Original file line number Diff line number Diff line change @@ -1930,7 +1930,7 @@ pub mod types {
19301930 pub iSecurityScheme : c_int ,
19311931 pub dwMessageSize : DWORD ,
19321932 pub dwProviderReserved : DWORD ,
1933- pub szProtocol : [ u8 ; WSAPROTOCOL_LEN as usize + 1 ] ,
1933+ pub szProtocol : [ u8 ; WSAPROTOCOL_LEN as usize + 1 us ] ,
19341934 }
19351935
19361936 pub type LPWSAPROTOCOL_INFO = * mut WSAPROTOCOL_INFO ;
Original file line number Diff line number Diff line change 5252
5353#![ feature( box_syntax) ]
5454#![ feature( collections) ]
55- #![ feature( core) ]
5655#![ feature( int_uint) ]
5756#![ feature( io) ]
5857#![ feature( path) ]
Original file line number Diff line number Diff line change 1313struct B < T > ;
1414
1515fn main ( ) {
16- let foo = B ;
17- let closure = || foo; //~ ERROR unable to infer enough type information
16+ let foo = B ; //~ ERROR: unable to infer enough type information
17+ let closure = || foo;
1818}
Original file line number Diff line number Diff line change 99// except according to those terms.
1010
1111#![ deny( unused_variables) ]
12- #![ feature( core) ]
1312
1413fn main ( ) {
1514 for _ in 1 ..101 {
Original file line number Diff line number Diff line change @@ -34,10 +34,10 @@ fn const_ptr() -> *const T {
3434
3535pub fn main ( ) {
3636 let a = unsafe { * mut_ref ( ) } ;
37- //~^ ERROR cannot move out of dereference of borrowed content
37+ //~^ ERROR cannot move out of borrowed content
3838
3939 let b = unsafe { * imm_ref ( ) } ;
40- //~^ ERROR cannot move out of dereference of borrowed content
40+ //~^ ERROR cannot move out of borrowed content
4141
4242 let c = unsafe { * mut_ptr ( ) } ;
4343 //~^ ERROR cannot move out of dereference of unsafe pointer
Original file line number Diff line number Diff line change 1111#![ deny( unreachable_code) ]
1212#![ allow( unused_variables) ]
1313#![ allow( dead_code) ]
14- #![ feature( core) ]
1514
1615fn fail_len ( v : Vec < isize > ) -> usize {
1716 let mut i = 3 ;
Original file line number Diff line number Diff line change 1111#![ deny( unused_variables) ]
1212#![ deny( unused_assignments) ]
1313#![ allow( dead_code, non_camel_case_types) ]
14- #![ feature( core) ]
1514
1615fn f1 ( x : isize ) {
1716 //~^ ERROR unused variable: `x`
Original file line number Diff line number Diff line change 22
33all : foo.rs
44 $(RUSTC ) --cfg ' feature="bar"' --crate-type lib foo.rs
5- $(RUSTDOC ) --test --cfg ' feature="bar"' -L $(TMPDIR ) foo.rs | \
6- grep --quiet ' test foo_0 ... ok'
5+ $(HOST_RPATH_ENV ) $(RUSTDOC ) --test --cfg ' feature="bar"' \
6+ -L $(TMPDIR ) foo.rs | \
7+ grep --quiet ' test foo_0 ... ok'
You can’t perform that action at this time.
0 commit comments