File tree 10 files changed +8
-13
lines changed
10 files changed +8
-13
lines changed Original file line number Diff line number Diff line change 12
12
13
13
#![ feature( box_syntax) ]
14
14
#![ feature( collections) ]
15
- #![ feature( core) ]
16
15
#![ feature( int_uint) ]
17
16
#![ feature( io) ]
18
17
#![ feature( os) ]
Original file line number Diff line number Diff line change 90
90
91
91
#![ deny( missing_docs) ]
92
92
#![ feature( collections) ]
93
- #![ feature( core) ]
94
93
#![ feature( int_uint) ]
95
94
#![ feature( slicing_syntax) ]
96
95
#![ feature( staged_api) ]
Original file line number Diff line number Diff line change @@ -1930,7 +1930,7 @@ pub mod types {
1930
1930
pub iSecurityScheme : c_int ,
1931
1931
pub dwMessageSize : DWORD ,
1932
1932
pub dwProviderReserved : DWORD ,
1933
- pub szProtocol : [ u8 ; WSAPROTOCOL_LEN as usize + 1 ] ,
1933
+ pub szProtocol : [ u8 ; WSAPROTOCOL_LEN as usize + 1 us ] ,
1934
1934
}
1935
1935
1936
1936
pub type LPWSAPROTOCOL_INFO = * mut WSAPROTOCOL_INFO ;
Original file line number Diff line number Diff line change 52
52
53
53
#![ feature( box_syntax) ]
54
54
#![ feature( collections) ]
55
- #![ feature( core) ]
56
55
#![ feature( int_uint) ]
57
56
#![ feature( io) ]
58
57
#![ feature( path) ]
Original file line number Diff line number Diff line change 13
13
struct B < T > ;
14
14
15
15
fn 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;
18
18
}
Original file line number Diff line number Diff line change 9
9
// except according to those terms.
10
10
11
11
#![ deny( unused_variables) ]
12
- #![ feature( core) ]
13
12
14
13
fn main ( ) {
15
14
for _ in 1 ..101 {
Original file line number Diff line number Diff line change @@ -34,10 +34,10 @@ fn const_ptr() -> *const T {
34
34
35
35
pub fn main ( ) {
36
36
let a = unsafe { * mut_ref ( ) } ;
37
- //~^ ERROR cannot move out of dereference of borrowed content
37
+ //~^ ERROR cannot move out of borrowed content
38
38
39
39
let b = unsafe { * imm_ref ( ) } ;
40
- //~^ ERROR cannot move out of dereference of borrowed content
40
+ //~^ ERROR cannot move out of borrowed content
41
41
42
42
let c = unsafe { * mut_ptr ( ) } ;
43
43
//~^ ERROR cannot move out of dereference of unsafe pointer
Original file line number Diff line number Diff line change 11
11
#![ deny( unreachable_code) ]
12
12
#![ allow( unused_variables) ]
13
13
#![ allow( dead_code) ]
14
- #![ feature( core) ]
15
14
16
15
fn fail_len ( v : Vec < isize > ) -> usize {
17
16
let mut i = 3 ;
Original file line number Diff line number Diff line change 11
11
#![ deny( unused_variables) ]
12
12
#![ deny( unused_assignments) ]
13
13
#![ allow( dead_code, non_camel_case_types) ]
14
- #![ feature( core) ]
15
14
16
15
fn f1 ( x : isize ) {
17
16
//~^ ERROR unused variable: `x`
Original file line number Diff line number Diff line change 2
2
3
3
all : foo.rs
4
4
$(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