#![feature(box_syntax)]
#![feature(collections)]
-#![feature(core)]
#![feature(int_uint)]
#![feature(io)]
#![feature(os)]
#![deny(missing_docs)]
#![feature(collections)]
-#![feature(core)]
#![feature(int_uint)]
#![feature(slicing_syntax)]
#![feature(staged_api)]
pub iSecurityScheme: c_int,
pub dwMessageSize: DWORD,
pub dwProviderReserved: DWORD,
- pub szProtocol: [u8; WSAPROTOCOL_LEN as usize + 1],
+ pub szProtocol: [u8; WSAPROTOCOL_LEN as usize + 1us],
}
pub type LPWSAPROTOCOL_INFO = *mut WSAPROTOCOL_INFO;
#![feature(box_syntax)]
#![feature(collections)]
-#![feature(core)]
#![feature(int_uint)]
#![feature(io)]
#![feature(path)]
struct B<T>;
fn main() {
- let foo = B;
- let closure = || foo; //~ ERROR unable to infer enough type information
+ let foo = B; //~ ERROR: unable to infer enough type information
+ let closure = || foo;
}
// except according to those terms.
#![deny(unused_variables)]
-#![feature(core)]
fn main() {
for _ in 1..101 {
pub fn main() {
let a = unsafe { *mut_ref() };
- //~^ ERROR cannot move out of dereference of borrowed content
+ //~^ ERROR cannot move out of borrowed content
let b = unsafe { *imm_ref() };
- //~^ ERROR cannot move out of dereference of borrowed content
+ //~^ ERROR cannot move out of borrowed content
let c = unsafe { *mut_ptr() };
//~^ ERROR cannot move out of dereference of unsafe pointer
#![deny(unreachable_code)]
#![allow(unused_variables)]
#![allow(dead_code)]
-#![feature(core)]
fn fail_len(v: Vec<isize> ) -> usize {
let mut i = 3;
#![deny(unused_variables)]
#![deny(unused_assignments)]
#![allow(dead_code, non_camel_case_types)]
-#![feature(core)]
fn f1(x: isize) {
//~^ ERROR unused variable: `x`
all: foo.rs
$(RUSTC) --cfg 'feature="bar"' --crate-type lib foo.rs
- $(RUSTDOC) --test --cfg 'feature="bar"' -L $(TMPDIR) foo.rs |\
- grep --quiet 'test foo_0 ... ok'
+ $(HOST_RPATH_ENV) $(RUSTDOC) --test --cfg 'feature="bar"' \
+ -L $(TMPDIR) foo.rs |\
+ grep --quiet 'test foo_0 ... ok'