Test fixes and rebase conflicts
This commit is contained in:
parent
1138f88f82
commit
3e10785e21
@ -12,7 +12,6 @@
|
||||
|
||||
#![feature(box_syntax)]
|
||||
#![feature(collections)]
|
||||
#![feature(core)]
|
||||
#![feature(int_uint)]
|
||||
#![feature(io)]
|
||||
#![feature(os)]
|
||||
|
@ -90,7 +90,6 @@
|
||||
|
||||
#![deny(missing_docs)]
|
||||
#![feature(collections)]
|
||||
#![feature(core)]
|
||||
#![feature(int_uint)]
|
||||
#![feature(slicing_syntax)]
|
||||
#![feature(staged_api)]
|
||||
|
@ -1930,7 +1930,7 @@ pub mod types {
|
||||
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;
|
||||
|
@ -52,7 +52,6 @@
|
||||
|
||||
#![feature(box_syntax)]
|
||||
#![feature(collections)]
|
||||
#![feature(core)]
|
||||
#![feature(int_uint)]
|
||||
#![feature(io)]
|
||||
#![feature(path)]
|
||||
|
@ -13,6 +13,6 @@
|
||||
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;
|
||||
}
|
||||
|
@ -9,7 +9,6 @@
|
||||
// except according to those terms.
|
||||
|
||||
#![deny(unused_variables)]
|
||||
#![feature(core)]
|
||||
|
||||
fn main() {
|
||||
for _ in 1..101 {
|
||||
|
@ -34,10 +34,10 @@ fn const_ptr() -> *const T {
|
||||
|
||||
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
|
||||
|
@ -11,7 +11,6 @@
|
||||
#![deny(unreachable_code)]
|
||||
#![allow(unused_variables)]
|
||||
#![allow(dead_code)]
|
||||
#![feature(core)]
|
||||
|
||||
fn fail_len(v: Vec<isize> ) -> usize {
|
||||
let mut i = 3;
|
||||
|
@ -11,7 +11,6 @@
|
||||
#![deny(unused_variables)]
|
||||
#![deny(unused_assignments)]
|
||||
#![allow(dead_code, non_camel_case_types)]
|
||||
#![feature(core)]
|
||||
|
||||
fn f1(x: isize) {
|
||||
//~^ ERROR unused variable: `x`
|
||||
|
@ -2,5 +2,6 @@
|
||||
|
||||
all: foo.rs
|
||||
$(RUSTC) --cfg 'feature="bar"' --crate-type lib foo.rs
|
||||
$(RUSTDOC) --test --cfg 'feature="bar"' -L $(TMPDIR) foo.rs |\
|
||||
$(HOST_RPATH_ENV) $(RUSTDOC) --test --cfg 'feature="bar"' \
|
||||
-L $(TMPDIR) foo.rs |\
|
||||
grep --quiet 'test foo_0 ... ok'
|
||||
|
Loading…
Reference in New Issue
Block a user