update tests

This commit is contained in:
Guillaume Gomez 2018-03-03 15:59:40 +01:00
parent 8c75e18e5d
commit 2e104a77cf
1044 changed files with 1153 additions and 1163 deletions

View file

@ -21,4 +21,4 @@ LL | #[allow(test_lint)]
error: aborting due to 2 previous errors
If you want more information on this error, try using "rustc --explain E0453"
For more information about this error, try `rustc --explain E0453`.

View file

@ -12,4 +12,4 @@ LL | | }
error: aborting due to previous error
If you want more information on this error, try using "rustc --explain E0308"
For more information about this error, try `rustc --explain E0308`.

View file

@ -154,4 +154,4 @@ LL | fn h2<F>(_: F) where F: for<'t0> Fn(&(), Box<Fn(&())>, &'t0 (), fn(&(), &()
error: aborting due to 11 previous errors
If you want more information on this error, try using "rustc --explain E0631"
For more information about this error, try `rustc --explain E0631`.

View file

@ -17,4 +17,4 @@ LL | let x = Box::new(5usize) as Box<Foo>;
error: aborting due to 2 previous errors
If you want more information on this error, try using "rustc --explain E0038"
For more information about this error, try `rustc --explain E0038`.

View file

@ -9,4 +9,4 @@ LL | asm!("mov $1, $0" : "=r"(x) : "r"(5));
error: aborting due to previous error
If you want more information on this error, try using "rustc --explain E0384"
For more information about this error, try `rustc --explain E0384`.

View file

@ -15,4 +15,4 @@ LL | impl<'a> Foo for &'a () {
error: aborting due to previous error
If you want more information on this error, try using "rustc --explain E0308"
For more information about this error, try `rustc --explain E0308`.

View file

@ -9,4 +9,4 @@ LL | const BAR: i32 = -1;
error: aborting due to previous error
If you want more information on this error, try using "rustc --explain E0326"
For more information about this error, try `rustc --explain E0326`.

View file

@ -42,5 +42,5 @@ LL | fn paint<C:BoxCar>(c: C, d: C::Color) {
error: aborting due to 4 previous errors
You've got a few errors: E0191, E0221
If you want more information on an error, try using "rustc --explain E0191"
Some errors occurred: E0191, E0221.
For more information about an error, try `rustc --explain E0191`.

View file

@ -6,4 +6,4 @@ LL | r = r + a;
error: aborting due to previous error
If you want more information on this error, try using "rustc --explain E0277"
For more information about this error, try `rustc --explain E0277`.

View file

@ -24,4 +24,4 @@ LL | fn grab(&self) -> Grab::Value;
error: aborting due to 3 previous errors
If you want more information on this error, try using "rustc --explain E0223"
For more information about this error, try `rustc --explain E0223`.

View file

@ -40,4 +40,4 @@ LL | enum ESimd { A, B }
error: aborting due to 5 previous errors
If you want more information on this error, try using "rustc --explain E0517"
For more information about this error, try `rustc --explain E0517`.

View file

@ -20,5 +20,5 @@ LL | x; //~ value moved here
error: aborting due to 2 previous errors
You've got a few errors: E0382, E0596
If you want more information on an error, try using "rustc --explain E0382"
Some errors occurred: E0382, E0596.
For more information about an error, try `rustc --explain E0382`.

View file

@ -9,4 +9,4 @@ LL | x % 2 == 0
error: aborting due to previous error
If you want more information on this error, try using "rustc --explain E0369"
For more information about this error, try `rustc --explain E0369`.

View file

@ -15,4 +15,4 @@ LL | use foo::foo as other_foo;
error: aborting due to previous error
If you want more information on this error, try using "rustc --explain E0255"
For more information about this error, try `rustc --explain E0255`.

View file

@ -9,4 +9,4 @@ LL | true //~ ERROR mismatched types
error: aborting due to previous error
If you want more information on this error, try using "rustc --explain E0308"
For more information about this error, try `rustc --explain E0308`.

View file

@ -11,4 +11,4 @@ LL | true //~ ERROR mismatched types
error: aborting due to previous error
If you want more information on this error, try using "rustc --explain E0308"
For more information about this error, try `rustc --explain E0308`.

View file

@ -9,4 +9,4 @@ LL | true //~ ERROR mismatched types
error: aborting due to previous error
If you want more information on this error, try using "rustc --explain E0308"
For more information about this error, try `rustc --explain E0308`.

View file

@ -28,4 +28,4 @@ LL | | }
error: aborting due to 2 previous errors
If you want more information on this error, try using "rustc --explain E0308"
For more information about this error, try `rustc --explain E0308`.

View file

@ -15,4 +15,4 @@ LL | | }
error: aborting due to previous error
If you want more information on this error, try using "rustc --explain E0308"
For more information about this error, try `rustc --explain E0308`.

View file

@ -31,4 +31,4 @@ LL | | }
error: aborting due to 2 previous errors
If you want more information on this error, try using "rustc --explain E0308"
For more information about this error, try `rustc --explain E0308`.

View file

@ -20,4 +20,4 @@ LL | a::Enum::EnumStructVariant { x, y, z } => {
error: aborting due to 2 previous errors
If you want more information on this error, try using "rustc --explain E0308"
For more information about this error, try `rustc --explain E0308`.

View file

@ -17,5 +17,5 @@ LL | let x = foo(5)(2);
error: aborting due to 2 previous errors
You've got a few errors: E0308, E0618
If you want more information on an error, try using "rustc --explain E0308"
Some errors occurred: E0308, E0618.
For more information about an error, try `rustc --explain E0308`.

View file

@ -22,5 +22,5 @@ LL | b + 3 //~ ERROR E0277
error: aborting due to 2 previous errors
You've got a few errors: E0277, E0308
If you want more information on an error, try using "rustc --explain E0277"
Some errors occurred: E0277, E0308.
For more information about an error, try `rustc --explain E0277`.

View file

@ -8,4 +8,4 @@ LL | || self.b()
error: aborting due to previous error
If you want more information on this error, try using "rustc --explain E0599"
For more information about this error, try `rustc --explain E0599`.

View file

@ -11,4 +11,4 @@ LL | &panic!()
error: aborting due to previous error
If you want more information on this error, try using "rustc --explain E0308"
For more information about this error, try `rustc --explain E0308`.

View file

@ -17,4 +17,4 @@ LL | fn bar() -> usize {
error: aborting due to previous error
If you want more information on this error, try using "rustc --explain E0308"
For more information about this error, try `rustc --explain E0308`.

View file

@ -9,4 +9,4 @@ LL | color::hsl(h, s, l) => { println!("hsl"); }
error: aborting due to previous error
If you want more information on this error, try using "rustc --explain E0599"
For more information about this error, try `rustc --explain E0599`.

View file

@ -161,5 +161,5 @@ LL | }
error: aborting due to 16 previous errors
You've got a few errors: E0382, E0502, E0503, E0505
If you want more information on an error, try using "rustc --explain E0382"
Some errors occurred: E0382, E0502, E0503, E0505.
For more information about an error, try `rustc --explain E0382`.

View file

@ -150,4 +150,4 @@ LL | }
error: aborting due to 10 previous errors
If you want more information on this error, try using "rustc --explain E0499"
For more information about this error, try `rustc --explain E0499`.

View file

@ -12,4 +12,4 @@ LL | spawn(move || books.push(4));
error: aborting due to previous error
If you want more information on this error, try using "rustc --explain E0373"
For more information about this error, try `rustc --explain E0373`.

View file

@ -12,4 +12,4 @@ LL | Box::new(move || books.push(4))
error: aborting due to previous error
If you want more information on this error, try using "rustc --explain E0373"
For more information about this error, try `rustc --explain E0373`.

View file

@ -8,4 +8,4 @@ LL | Box::new(|| x) //~ ERROR cannot move out of captured outer variable
error: aborting due to previous error
If you want more information on this error, try using "rustc --explain E0507"
For more information about this error, try `rustc --explain E0507`.

View file

@ -34,5 +34,5 @@ LL | n => {
error: aborting due to 3 previous errors
You've got a few errors: E0507, E0509
If you want more information on an error, try using "rustc --explain E0507"
Some errors occurred: E0507, E0509.
For more information about an error, try `rustc --explain E0507`.

View file

@ -15,4 +15,4 @@ LL | | Foo { string: b }] => {
error: aborting due to previous error
If you want more information on this error, try using "rustc --explain E0508"
For more information about this error, try `rustc --explain E0508`.

View file

@ -20,4 +20,4 @@ LL | let _ = (1,x); //~ ERROR use of moved value: `x` (Ast)
error: aborting due to 2 previous errors
If you want more information on this error, try using "rustc --explain E0382"
For more information about this error, try `rustc --explain E0382`.

View file

@ -36,5 +36,5 @@ LL | };
error: aborting due to 3 previous errors
You've got a few errors: E0499, E0502
If you want more information on an error, try using "rustc --explain E0499"
Some errors occurred: E0499, E0502.
For more information about an error, try `rustc --explain E0499`.

View file

@ -80,5 +80,5 @@ LL | let a = vec[0]; //~ ERROR cannot move out
error: aborting due to 8 previous errors
You've got a few errors: E0506, E0508
If you want more information on an error, try using "rustc --explain E0506"
Some errors occurred: E0506, E0508.
For more information about an error, try `rustc --explain E0506`.

View file

@ -16,4 +16,4 @@ LL | _x = 4;
error: aborting due to 2 previous errors
If you want more information on this error, try using "rustc --explain E0384"
For more information about this error, try `rustc --explain E0384`.

View file

@ -54,4 +54,4 @@ LL | if let Some(thing) = maybe {
error: aborting due to 5 previous errors
If you want more information on this error, try using "rustc --explain E0382"
For more information about this error, try `rustc --explain E0382`.

View file

@ -27,4 +27,4 @@ LL | }
error: aborting due to 3 previous errors
If you want more information on this error, try using "rustc --explain E0499"
For more information about this error, try `rustc --explain E0499`.

View file

@ -21,4 +21,4 @@ LL | }
error: aborting due to 2 previous errors
If you want more information on this error, try using "rustc --explain E0499"
For more information about this error, try `rustc --explain E0499`.

View file

@ -46,5 +46,5 @@ LL | fn another_bound<'x: 't>(self, x: Inv<'x>, y: Inv<'t>) {
error: aborting due to 4 previous errors
You've got a few errors: E0195, E0276, E0308
If you want more information on an error, try using "rustc --explain E0195"
Some errors occurred: E0195, E0276, E0308.
For more information about an error, try `rustc --explain E0195`.

View file

@ -9,4 +9,4 @@ LL | y.into_iter();
error: aborting due to previous error
If you want more information on this error, try using "rustc --explain E0507"
For more information about this error, try `rustc --explain E0507`.

View file

@ -8,4 +8,4 @@ LL | let u = 5 as bool;
error: aborting due to previous error
If you want more information on this error, try using "rustc --explain E0054"
For more information about this error, try `rustc --explain E0054`.

View file

@ -6,4 +6,4 @@ LL | let error = error; //~ ERROR cannot find value `error`
error: aborting due to previous error
If you want more information on this error, try using "rustc --explain E0425"
For more information about this error, try `rustc --explain E0425`.

View file

@ -8,4 +8,4 @@ LL | let _ = 3 as bool;
error: aborting due to previous error
If you want more information on this error, try using "rustc --explain E0054"
For more information about this error, try `rustc --explain E0054`.

View file

@ -16,4 +16,4 @@ LL | Box::new(1) as Send; //~ ERROR cast to unsized
error: aborting due to 2 previous errors
If you want more information on this error, try using "rustc --explain E0620"
For more information about this error, try `rustc --explain E0620`.

View file

@ -8,4 +8,4 @@ LL | b_raw = f_raw as *mut _; //~ ERROR is invalid
error: aborting due to previous error
If you want more information on this error, try using "rustc --explain E0606"
For more information about this error, try `rustc --explain E0606`.

View file

@ -6,4 +6,4 @@ LL | ipsum: Ipsum //~ ERROR cannot find type `Ipsum`
error: aborting due to previous error
If you want more information on this error, try using "rustc --explain E0412"
For more information about this error, try `rustc --explain E0412`.

View file

@ -11,4 +11,4 @@ LL | extern crate b; //~ ERROR: found possibly newer version of crate `a` which
error: aborting due to previous error
If you want more information on this error, try using "rustc --explain E0460"
For more information about this error, try `rustc --explain E0460`.

View file

@ -48,4 +48,4 @@ LL | match Some(A) { //~ ERROR non-exhaustive
error: aborting due to 8 previous errors
If you want more information on this error, try using "rustc --explain E0004"
For more information about this error, try `rustc --explain E0004`.

View file

@ -84,4 +84,4 @@ LL | f = Some(x);
error: aborting due to 5 previous errors
If you want more information on this error, try using "rustc --explain E0308"
For more information about this error, try `rustc --explain E0308`.

View file

@ -11,4 +11,4 @@ LL | Box::new(closure)
error: aborting due to previous error
If you want more information on this error, try using "rustc --explain E0525"
For more information about this error, try `rustc --explain E0525`.

View file

@ -11,4 +11,4 @@ LL | Box::new(closure)
error: aborting due to previous error
If you want more information on this error, try using "rustc --explain E0525"
For more information about this error, try `rustc --explain E0525`.

View file

@ -14,4 +14,4 @@ LL | for (key, value) in dict {
error: aborting due to previous error
If you want more information on this error, try using "rustc --explain E0382"
For more information about this error, try `rustc --explain E0382`.

View file

@ -8,4 +8,4 @@ LL | impl C { fn f() {} }
error: aborting due to previous error
If you want more information on this error, try using "rustc --explain E0592"
For more information about this error, try `rustc --explain E0592`.

View file

@ -6,4 +6,4 @@ LL | unsafe impl Send for &'static Foo { } //~ ERROR cross-crate traits with
error: aborting due to previous error
If you want more information on this error, try using "rustc --explain E0321"
For more information about this error, try `rustc --explain E0321`.

View file

@ -9,4 +9,4 @@ LL | let y = &mut x; //~ ERROR cannot borrow
error: aborting due to previous error
If you want more information on this error, try using "rustc --explain E0596"
For more information about this error, try `rustc --explain E0596`.

View file

@ -10,4 +10,4 @@ LL | }
error: aborting due to previous error
If you want more information on this error, try using "rustc --explain E0499"
For more information about this error, try `rustc --explain E0499`.

View file

@ -8,4 +8,4 @@ LL | assert!("foo");
error: aborting due to previous error
If you want more information on this error, try using "rustc --explain E0600"
For more information about this error, try `rustc --explain E0600`.

View file

@ -9,4 +9,4 @@ LL | v.push(v.pop().unwrap()); //~ ERROR cannot borrow
error: aborting due to previous error
If you want more information on this error, try using "rustc --explain E0499"
For more information about this error, try `rustc --explain E0499`.

View file

@ -29,4 +29,4 @@ LL | fn baz(&self) {}
error: aborting due to 3 previous errors
If you want more information on this error, try using "rustc --explain E0592"
For more information about this error, try `rustc --explain E0592`.

View file

@ -9,4 +9,4 @@ LL | S {f:_s} => {} //~ ERROR cannot move out
error: aborting due to previous error
If you want more information on this error, try using "rustc --explain E0509"
For more information about this error, try `rustc --explain E0509`.

View file

@ -17,5 +17,5 @@ LL | "bar boo" //~ ERROR mismatched types
error: aborting due to 2 previous errors
You've got a few errors: E0308, E0425
If you want more information on an error, try using "rustc --explain E0308"
Some errors occurred: E0308, E0425.
For more information about an error, try `rustc --explain E0308`.

View file

@ -11,4 +11,4 @@ LL | println!("{:?}", some_vec); //~ ERROR use of moved
error: aborting due to previous error
If you want more information on this error, try using "rustc --explain E0382"
For more information about this error, try `rustc --explain E0382`.

View file

@ -6,4 +6,3 @@ LL | impl Bar for Baz { } //~ ERROR expected trait, found type alias
error: cannot continue compilation due to previous error
If you want more information on this error, try using "rustc --explain E0404"

View file

@ -22,4 +22,4 @@ LL | let _ = a̐é; //~ ERROR cannot find
error: aborting due to 3 previous errors
If you want more information on this error, try using "rustc --explain E0425"
For more information about this error, try `rustc --explain E0425`.

View file

@ -26,4 +26,4 @@ LL | | }
error: aborting due to 2 previous errors
If you want more information on this error, try using "rustc --explain E0308"
For more information about this error, try `rustc --explain E0308`.

View file

@ -6,4 +6,4 @@ LL | impl Foo for DoesNotExist {} //~ ERROR cannot find type `DoesNotExist` in t
error: aborting due to previous error
If you want more information on this error, try using "rustc --explain E0412"
For more information about this error, try `rustc --explain E0412`.

View file

@ -57,5 +57,5 @@ LL | impl Copy for &'static [NotSync] {}
error: aborting due to 8 previous errors
You've got a few errors: E0117, E0206
If you want more information on an error, try using "rustc --explain E0117"
Some errors occurred: E0117, E0206.
For more information about an error, try `rustc --explain E0117`.

View file

@ -20,4 +20,4 @@ LL | impl<X> A<i32, X> { fn f(&self) {} }
error: aborting due to 2 previous errors
If you want more information on this error, try using "rustc --explain E0592"
For more information about this error, try `rustc --explain E0592`.

View file

@ -18,4 +18,4 @@ LL | impl<X> Foo<X> for i32 {}
error: aborting due to 2 previous errors
If you want more information on this error, try using "rustc --explain E0119"
For more information about this error, try `rustc --explain E0119`.

View file

@ -11,4 +11,4 @@ LL | impl<U:Sugar> Cake<Box<U>> { fn dummy(&self) { } }
error: aborting due to previous error
If you want more information on this error, try using "rustc --explain E0592"
For more information about this error, try `rustc --explain E0592`.

View file

@ -10,4 +10,4 @@ LL | impl<U:Sugar> Sweet for Box<U> { }
error: aborting due to previous error
If you want more information on this error, try using "rustc --explain E0119"
For more information about this error, try `rustc --explain E0119`.

View file

@ -11,4 +11,4 @@ LL | impl A<i16> { fn dummy(&self) { } }
error: aborting due to previous error
If you want more information on this error, try using "rustc --explain E0592"
For more information about this error, try `rustc --explain E0592`.

View file

@ -10,4 +10,4 @@ LL | impl Foo for i16 {}
error: aborting due to previous error
If you want more information on this error, try using "rustc --explain E0119"
For more information about this error, try `rustc --explain E0119`.

View file

@ -8,4 +8,4 @@ LL | x = 43;
error: aborting due to previous error
If you want more information on this error, try using "rustc --explain E0384"
For more information about this error, try `rustc --explain E0384`.

View file

@ -9,4 +9,4 @@ LL | fn foo() where U: 'a { } //~ ERROR E0276
error: aborting due to previous error
If you want more information on this error, try using "rustc --explain E0276"
For more information about this error, try `rustc --explain E0276`.

View file

@ -9,4 +9,4 @@ LL | fn renew<'b: 'a>(self) -> &'b mut [T] where 'a: 'b {
error: aborting due to previous error
If you want more information on this error, try using "rustc --explain E0276"
For more information about this error, try `rustc --explain E0276`.

View file

@ -9,4 +9,4 @@ LL | fn foo() where 'a: 'b { } //~ ERROR impl has stricter
error: aborting due to previous error
If you want more information on this error, try using "rustc --explain E0276"
For more information about this error, try `rustc --explain E0276`.

View file

@ -9,4 +9,4 @@ LL | fn foo() where V: 'a { }
error: aborting due to previous error
If you want more information on this error, try using "rustc --explain E0276"
For more information about this error, try `rustc --explain E0276`.

View file

@ -12,4 +12,4 @@ LL | fn b<F:Clone,G>(&self, _x: G) -> G { panic!() } //~ ERROR method `b` has
error: aborting due to previous error
If you want more information on this error, try using "rustc --explain E0053"
For more information about this error, try `rustc --explain E0053`.

View file

@ -9,4 +9,4 @@ LL | fn b<F: Sync, G>(&self, _x: F) -> F { panic!() } //~ ERROR E0276
error: aborting due to previous error
If you want more information on this error, try using "rustc --explain E0276"
For more information about this error, try `rustc --explain E0276`.

View file

@ -63,4 +63,4 @@ LL | fn method<G: Getter<usize>>(&self) {}
error: aborting due to 7 previous errors
If you want more information on this error, try using "rustc --explain E0276"
For more information about this error, try `rustc --explain E0276`.

View file

@ -9,4 +9,4 @@ LL | fn zip<B, U: Iterator<B>>(self, other: U) -> ZipIterator<T, U> {
error: aborting due to previous error
If you want more information on this error, try using "rustc --explain E0276"
For more information about this error, try `rustc --explain E0276`.

View file

@ -6,4 +6,4 @@ LL | static C: u64 = unsafe {*(0xdeadbeef as *const u64)}; //~ ERROR E0396
error: aborting due to previous error
If you want more information on this error, try using "rustc --explain E0396"
For more information about this error, try `rustc --explain E0396`.

View file

@ -12,4 +12,4 @@ LL | NEG_NEG_128 => println!("A"),
error: aborting due to previous error
If you want more information on this error, try using "rustc --explain E0080"
For more information about this error, try `rustc --explain E0080`.

View file

@ -14,4 +14,4 @@ LL | : [u32; (i8::MAX as i8 + 1i8) as usize]
error: aborting due to previous error
If you want more information on this error, try using "rustc --explain E0080"
For more information about this error, try `rustc --explain E0080`.

View file

@ -9,4 +9,4 @@ LL | V = CONSTANT,
error: aborting due to previous error
If you want more information on this error, try using "rustc --explain E0308"
For more information about this error, try `rustc --explain E0308`.

View file

@ -14,4 +14,4 @@ LL | println!("{}", FOO); //~ E0080
error: aborting due to previous error
If you want more information on this error, try using "rustc --explain E0080"
For more information about this error, try `rustc --explain E0080`.

View file

@ -6,4 +6,4 @@ LL | static FOO: i32 = [][0];
error: aborting due to previous error
If you want more information on this error, try using "rustc --explain E0080"
For more information about this error, try `rustc --explain E0080`.

View file

@ -26,4 +26,4 @@ LL | println!("{} {}", X, Y);
error: aborting due to 2 previous errors
If you want more information on this error, try using "rustc --explain E0080"
For more information about this error, try `rustc --explain E0080`.

View file

@ -33,5 +33,5 @@ LL | let a : [i32; f(X)];
error: aborting due to 4 previous errors
You've got a few errors: E0015, E0016, E0019, E0080
If you want more information on an error, try using "rustc --explain E0015"
Some errors occurred: E0015, E0016, E0019, E0080.
For more information about an error, try `rustc --explain E0015`.

View file

@ -6,4 +6,4 @@ LL | const fn f() -> u32 { 22 }
error: aborting due to previous error
If you want more information on this error, try using "rustc --explain E0379"
For more information about this error, try `rustc --explain E0379`.

View file

@ -12,4 +12,4 @@ LL | const fn g() -> u32 { 0 }
error: aborting due to 2 previous errors
If you want more information on this error, try using "rustc --explain E0379"
For more information about this error, try `rustc --explain E0379`.

View file

@ -20,4 +20,4 @@ LL | let a: [i8; LEN] = unimplemented!();
error: aborting due to 2 previous errors
If you want more information on this error, try using "rustc --explain E0080"
For more information about this error, try `rustc --explain E0080`.

View file

@ -18,4 +18,4 @@ LL | let d = 4; //~ ERROR refutable pattern in local binding: `_` not covere
error: aborting due to 3 previous errors
If you want more information on this error, try using "rustc --explain E0005"
For more information about this error, try `rustc --explain E0005`.

View file

@ -36,4 +36,4 @@ LL | static STATIC_BAR: str = *"bar";
error: aborting due to 4 previous errors
If you want more information on this error, try using "rustc --explain E0277"
For more information about this error, try `rustc --explain E0277`.

View file

@ -18,4 +18,4 @@ LL | trait B: C {
error: aborting due to previous error
If you want more information on this error, try using "rustc --explain E0391"
For more information about this error, try `rustc --explain E0391`.

View file

@ -60,4 +60,4 @@ LL | foo3(borrow!(0));
error: aborting due to 5 previous errors
If you want more information on this error, try using "rustc --explain E0308"
For more information about this error, try `rustc --explain E0308`.

Some files were not shown because too many files have changed in this diff Show more