Revert "Change error count messages"

This reverts commit 5558c64f33.
This commit is contained in:
Ariel Ben-Yehuda 2017-07-02 13:49:30 +03:00
parent a5d34e1d03
commit 77f4022303
248 changed files with 252 additions and 248 deletions

View File

@ -113,7 +113,8 @@ const BUG_REPORT_URL: &'static str = "https://github.com/rust-lang/rust/blob/mas
fn abort_msg(err_count: usize) -> String {
match err_count {
0 => "aborting with no errors (maybe a bug?)".to_owned(),
_ => "aborting due to previous error(s)".to_owned(),
1 => "aborting due to previous error".to_owned(),
e => format!("aborting due to {} previous errors", e),
}
}

View File

@ -506,7 +506,10 @@ impl Handler {
return;
}
_ => s = "aborting due to previous error(s)".to_string(),
1 => s = "aborting due to previous error".to_string(),
_ => {
s = format!("aborting due to {} previous errors", self.err_count.get());
}
}
panic!(self.fatal(&s));

View File

@ -6,5 +6,5 @@ error[E0507]: cannot move out of captured outer variable in an `Fn` closure
15 | Box::new(|| x) //~ ERROR cannot move out of captured outer variable
| ^ cannot move out of captured outer variable in an `Fn` closure
error: aborting due to previous error(s)
error: aborting due to previous error

View File

@ -7,5 +7,5 @@ error[E0507]: cannot move out of captured outer variable in an `Fn` closure
21 | y.into_iter();
| ^ cannot move out of captured outer variable in an `Fn` closure
error: aborting due to previous error(s)
error: aborting due to previous error

View File

@ -46,5 +46,5 @@ error[E0004]: non-exhaustive patterns: `Some(B)`, `Some(C)`, `Some(D)` and 2 mor
49 | match Some(A) {
| ^^^^^^^ patterns `Some(B)`, `Some(C)`, `Some(D)` and 2 more not covered
error: aborting due to previous error(s)
error: aborting due to 8 previous errors

View File

@ -12,5 +12,5 @@ note: closure cannot be invoked more than once because it moves the variable `di
16 | for (key, value) in dict {
| ^^^^
error: aborting due to previous error(s)
error: aborting due to previous error

View File

@ -22,5 +22,5 @@ error: expected token: `,`
|
= note: this error originates in a macro outside of the current crate
error: aborting due to previous error(s)
error: aborting due to 3 previous errors

View File

@ -6,5 +6,5 @@ error[E0592]: duplicate definitions with name `f`
15 | impl C { fn f() {} }
| --------- other definition for `f`
error: aborting due to previous error(s)
error: aborting due to previous error

View File

@ -4,5 +4,5 @@ error[E0321]: cross-crate traits with a default impl, like `std::marker::Send`,
17 | unsafe impl Send for &'static Foo { }
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: aborting due to previous error(s)
error: aborting due to previous error

View File

@ -7,5 +7,5 @@ error[E0596]: cannot borrow immutable local variable `x` as mutable
100 | let y = &mut x;
| ^ cannot borrow mutably
error: aborting due to previous error(s)
error: aborting due to previous error

View File

@ -8,5 +8,5 @@ error[E0499]: cannot borrow `x` as mutable more than once at a time
101 | }
| - first borrow ends here
error: aborting due to previous error(s)
error: aborting due to previous error

View File

@ -6,5 +6,5 @@ error[E0600]: cannot apply unary operator `!` to type `&'static str`
|
= note: this error originates in a macro outside of the current crate
error: aborting due to previous error(s)
error: aborting due to previous error

View File

@ -7,5 +7,5 @@ error[E0499]: cannot borrow `v` as mutable more than once at a time
| | second mutable borrow occurs here
| first mutable borrow occurs here
error: aborting due to previous error(s)
error: aborting due to previous error

View File

@ -25,5 +25,5 @@ error[E0592]: duplicate definitions with name `baz`
43 | fn baz(&self) {}
| ---------------- other definition for `baz`
error: aborting due to previous error(s)
error: aborting due to 3 previous errors

View File

@ -7,5 +7,5 @@ error[E0509]: cannot move out of type `S`, which implements the `Drop` trait
| | hint: to prevent move, use `ref _s` or `ref mut _s`
| cannot move out of here
error: aborting due to previous error(s)
error: aborting due to previous error

View File

@ -4,5 +4,5 @@ error[E0425]: cannot find value `bar` in this scope
14 | \tbar;
| \t^^^ not found in this scope
error: aborting due to previous error(s)
error: aborting due to previous error

View File

@ -4,5 +4,5 @@ error: invalid ABI: expected one of [cdecl, stdcall, fastcall, vectorcall, thisc
11 | extern "路濫狼á́́" fn foo() {}
| ^^^^^^^^
error: aborting due to previous error(s)
error: aborting due to previous error

View File

@ -24,5 +24,5 @@ error[E0308]: mismatched types
= note: expected type `std::result::Result<u8, u64>`
found type `()`
error: aborting due to previous error(s)
error: aborting due to previous error

View File

@ -11,5 +11,5 @@ error[E0276]: impl has stricter requirements than trait
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue #37166 <https://github.com/rust-lang/rust/issues/37166>
error: aborting due to previous error(s)
error: aborting due to previous error

View File

@ -10,5 +10,5 @@ error[E0276]: impl has stricter requirements than trait
22 | | }
| |_____^ impl has extra requirement `'a: 'b`
error: aborting due to previous error(s)
error: aborting due to previous error

View File

@ -7,5 +7,5 @@ error[E0276]: impl has stricter requirements than trait
22 | fn foo() where 'a: 'b { }
| ^^^^^^^^^^^^^^^^^^^^^^^^^ impl has extra requirement `'a: 'b`
error: aborting due to previous error(s)
error: aborting due to previous error

View File

@ -11,5 +11,5 @@ error[E0276]: impl has stricter requirements than trait
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue #37166 <https://github.com/rust-lang/rust/issues/37166>
error: aborting due to previous error(s)
error: aborting due to previous error

View File

@ -10,5 +10,5 @@ error[E0053]: method `b` has an incompatible type for trait
= note: expected type `fn(&E, F) -> F`
found type `fn(&E, G) -> G`
error: aborting due to previous error(s)
error: aborting due to previous error

View File

@ -7,5 +7,5 @@ error[E0276]: impl has stricter requirements than trait
25 | fn b<F: Sync, G>(&self, _x: F) -> F { panic!() } //~ ERROR E0276
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ impl has extra requirement `F: std::marker::Sync`
error: aborting due to previous error(s)
error: aborting due to previous error

View File

@ -61,5 +61,5 @@ error[E0276]: impl has stricter requirements than trait
76 | fn method<G: Getter<usize>>(&self) {}
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ impl has extra requirement `G: Getter<usize>`
error: aborting due to previous error(s)
error: aborting due to 7 previous errors

View File

@ -10,5 +10,5 @@ error[E0276]: impl has stricter requirements than trait
26 | | }
| |_____^ impl has extra requirement `U: Iterator<B>`
error: aborting due to previous error(s)
error: aborting due to previous error

View File

@ -6,5 +6,5 @@ error: invalid reference to argument `0` (no arguments given)
|
= note: this error originates in a macro outside of the current crate
error: aborting due to previous error(s)
error: aborting due to previous error

View File

@ -22,5 +22,5 @@ error[E0178]: expected a path on the left-hand side of `+`, not `fn() -> Foo`
17 | z: fn() -> Foo + 'a,
| ^^^^^^^^^^^^^^^^ perhaps you forgot parentheses?
error: aborting due to previous error(s)
error: aborting due to 4 previous errors

View File

@ -8,5 +8,5 @@ error[E0277]: the trait bound `Bar: Foo<usize>` is not satisfied
<Bar as Foo<i32>>
<Bar as Foo<u8>>
error: aborting due to previous error(s)
error: aborting due to previous error

View File

@ -11,5 +11,5 @@ error[E0277]: the trait bound `Bar: Foo<usize>` is not satisfied
<Bar as Foo<u8>>
and 2 others
error: aborting due to previous error(s)
error: aborting due to previous error

View File

@ -15,5 +15,5 @@ error[E0596]: cannot borrow immutable argument `self` as mutable
23 | (&mut self).bar();
| ^^^^ cannot borrow mutably
error: aborting due to previous error(s)
error: aborting due to 2 previous errors

View File

@ -7,5 +7,5 @@ error[E0596]: cannot borrow immutable argument `self` as mutable
| try removing `&mut` here
| cannot reborrow mutably
error: aborting due to previous error(s)
error: aborting due to previous error

View File

@ -7,5 +7,5 @@ error[E0596]: cannot borrow immutable local variable `key` as mutable
| try removing `&mut` here
| cannot reborrow mutably
error: aborting due to previous error(s)
error: aborting due to previous error

View File

@ -22,5 +22,5 @@ error[E0594]: cannot assign to immutable field `s.x`
30 | s.x += 1;
| ^^^^^^^^ cannot mutably borrow immutable field
error: aborting due to previous error(s)
error: aborting due to 3 previous errors

View File

@ -4,5 +4,5 @@ error[E0609]: no field `baz` on type `Foo`
17 | f.baz;
| ^^^ did you mean `bar`?
error: aborting due to previous error(s)
error: aborting due to previous error

View File

@ -4,5 +4,5 @@ error[E0609]: no field `zz` on type `Foo`
17 | f.zz;
| ^^ unknown field
error: aborting due to previous error(s)
error: aborting due to previous error

View File

@ -7,5 +7,5 @@ error[E0596]: cannot borrow immutable local variable `x` as mutable
| try removing `&mut` here
| cannot reborrow mutably
error: aborting due to previous error(s)
error: aborting due to previous error

View File

@ -10,5 +10,5 @@ error[E0432]: unresolved import `Foo1`
13 | use Foo1;
| ^^^^ no `Foo1` in the root
error: aborting due to previous error(s)
error: aborting due to 2 previous errors

View File

@ -6,5 +6,5 @@ error[E0389]: cannot borrow data mutably in a `&` reference
27 | self.s.push('x');
| ^^^^^^ assignment into an immutable reference
error: aborting due to previous error(s)
error: aborting due to previous error

View File

@ -7,5 +7,5 @@ error[E0596]: cannot borrow immutable borrowed content `*self.s` as mutable
17 | self.s.push('x');
| ^^^^^^ cannot borrow as mutable
error: aborting due to previous error(s)
error: aborting due to previous error

View File

@ -7,5 +7,5 @@ error[E0596]: cannot borrow immutable borrowed content `*self.s` as mutable
17 | self.s.push('x');
| ^^^^^^ cannot borrow as mutable
error: aborting due to previous error(s)
error: aborting due to previous error

View File

@ -6,5 +6,5 @@ error[E0389]: cannot borrow data mutably in a `&` reference
16 | f.s.push('x');
| ^^^ assignment into an immutable reference
error: aborting due to previous error(s)
error: aborting due to previous error

View File

@ -96,5 +96,5 @@ error[E0594]: cannot assign to immutable borrowed content `*x.0`
58 | *x.0 = 1;
| ^^^^^^^^ cannot borrow as mutable
error: aborting due to previous error(s)
error: aborting due to 12 previous errors

View File

@ -39,5 +39,5 @@ error[E0277]: the trait bound `bool: Foo<i32>` is not satisfied
and 2 others
= note: required by `Foo::bar`
error: aborting due to previous error(s)
error: aborting due to 3 previous errors

View File

@ -64,5 +64,5 @@ error[E0038]: the trait `X` cannot be made into an object
|
= note: method `xxx` has no receiver
error: aborting due to previous error(s)
error: aborting due to previous error

View File

@ -30,5 +30,5 @@ error: chained comparison operators require parentheses
|
= help: use `::<...>` instead of `<...>` if you meant to specify type arguments
error: aborting due to previous error(s)
error: aborting due to 4 previous errors

View File

@ -4,5 +4,5 @@ error[E0596]: cannot borrow immutable borrowed content `*buf` as mutable
13 | buf.iter_mut();
| ^^^ cannot borrow as mutable
error: aborting due to previous error(s)
error: aborting due to previous error

View File

@ -6,5 +6,5 @@ error: `~` can not be used as a unary operator
|
= help: use `!` instead of `~` if you meant to perform bitwise negation
error: aborting due to previous error(s)
error: aborting due to previous error

View File

@ -17,5 +17,5 @@ error[E0275]: overflow evaluating the requirement `K: std::marker::Send`
= note: required because it appears within the type `A`
= note: required by `is_send`
error: aborting due to previous error(s)
error: aborting due to previous error

View File

@ -19,5 +19,5 @@ error[E0308]: mismatched types
= note: expected type `&Bottom`
found type `&Top`
error: aborting due to previous error(s)
error: aborting due to 3 previous errors

View File

@ -18,5 +18,5 @@ error[E0038]: the trait `std::marker::Copy` cannot be made into an object
|
= note: the trait cannot require that `Self : Sized`
error: aborting due to previous error(s)
error: aborting due to previous error

View File

@ -42,5 +42,5 @@ error[E0597]: `c` does not live long enough
|
= note: values in a scope are dropped in the opposite order they are created
error: aborting due to previous error(s)
error: aborting due to 4 previous errors

View File

@ -20,5 +20,5 @@ error[E0569]: requires an `unsafe impl` declaration due to `#[may_dangle]` attri
43 | | }
| |_^
error: aborting due to previous error(s)
error: aborting due to 2 previous errors

View File

@ -42,5 +42,5 @@ error[E0597]: `c` does not live long enough
|
= note: values in a scope are dropped in the opposite order they are created
error: aborting due to previous error(s)
error: aborting due to 4 previous errors

View File

@ -42,5 +42,5 @@ error[E0597]: `c` does not live long enough
|
= note: values in a scope are dropped in the opposite order they are created
error: aborting due to previous error(s)
error: aborting due to 4 previous errors

View File

@ -16,5 +16,5 @@ error: invalid format string: unmatched `}` found
= note: if you intended to print `}`, you can escape it using `}}`
= note: this error originates in a macro outside of the current crate
error: aborting due to previous error(s)
error: aborting due to 2 previous errors

View File

@ -51,5 +51,5 @@ error[E0308]: mismatched types
= note: expected type `impl Foo` (i32)
found type `impl Foo` (u32)
error: aborting due to previous error(s)
error: aborting due to 6 previous errors

View File

@ -10,5 +10,5 @@ note: maybe move this module `$DIR/auxiliary/foo/bar.rs` to its own directory vi
11 | pub mod baz;
| ^^^
error: aborting due to previous error(s)
error: aborting due to previous error

View File

@ -8,5 +8,5 @@ error: reached the type-length limit while instantiating `<T as Foo><(&(&(&(&(&(
|
= note: consider adding a `#![type_length_limit="2097152"]` attribute to your crate
error: aborting due to previous error(s)
error: aborting due to previous error

View File

@ -7,5 +7,5 @@ error[E0507]: cannot move out of indexed content
| help: consider using a reference instead `&f.v[0]`
| cannot move out of indexed content
error: aborting due to previous error(s)
error: aborting due to previous error

View File

@ -7,5 +7,5 @@ error[E0507]: cannot move out of indexed content
| | ...and here (use `ref b` or `ref mut b`)
| hint: to prevent move, use `ref a` or `ref mut a`
error: aborting due to previous error(s)
error: aborting due to previous error

View File

@ -13,5 +13,5 @@ note: candidate #1 is defined in the trait `issue_41652_b::Tr`
| |__________________________^
= help: to disambiguate the method call, write `issue_41652_b::Tr::f(3)` instead
error: aborting due to previous error(s)
error: aborting due to previous error

View File

@ -6,5 +6,5 @@ error[E0621]: explicit lifetime required in the type of `y`
12 | if x > y { x } else { y }
| ^ lifetime `'a` required
error: aborting due to previous error(s)
error: aborting due to previous error

View File

@ -6,5 +6,5 @@ error[E0106]: missing lifetime specifier
|
= help: this function's return type contains a borrowed value, but the signature does not say whether it is borrowed from `x` or `y`
error: aborting due to previous error(s)
error: aborting due to previous error

View File

@ -6,5 +6,5 @@ error[E0621]: explicit lifetime required in the type of `y`
16 | x.push(y);
| ^ lifetime `'a` required
error: aborting due to previous error(s)
error: aborting due to previous error

View File

@ -21,5 +21,5 @@ note: ...does not necessarily outlive the anonymous lifetime #2 defined on the f
17 | | }
| |_^
error: aborting due to previous error(s)
error: aborting due to previous error

View File

@ -31,5 +31,5 @@ note: ...so that expression is assignable (expected Ref<'b, _>, found Ref<'_, _>
17 | x.push(z);
| ^
error: aborting due to previous error(s)
error: aborting due to previous error

View File

@ -33,5 +33,5 @@ note: ...so that expression is assignable (expected &mut std::vec::Vec<Ref<'_, i
16 | let a: &mut Vec<Ref<i32>> = x;
| ^
error: aborting due to previous error(s)
error: aborting due to previous error

View File

@ -33,5 +33,5 @@ note: ...so that expression is assignable (expected &mut std::vec::Vec<Ref<'_, i
16 | let a: &mut Vec<Ref<i32>> = x;
| ^
error: aborting due to previous error(s)
error: aborting due to previous error

View File

@ -10,5 +10,5 @@ error[E0597]: borrowed value does not live long enough
|
= note: consider using a `let` binding to increase its lifetime
error: aborting due to previous error(s)
error: aborting due to previous error

View File

@ -6,5 +6,5 @@ error: variable `_InappropriateCamelCasing` should have a snake case name such a
|
= note: `-D non-snake-case` implied by `-D bad-style`
error: aborting due to previous error(s)
error: aborting due to previous error

View File

@ -6,5 +6,5 @@ error: variable `_InappropriateCamelCasing` should have a snake case name such a
|
= note: `-F non-snake-case` implied by `-F bad-style`
error: aborting due to previous error(s)
error: aborting due to previous error

View File

@ -63,5 +63,5 @@ note: lint level defined here
| ^^^^^^^^^
= note: #[warn(non_camel_case_types)] implied by #[warn(bad_style)]
error: aborting due to previous error(s)
error: aborting due to 3 previous errors

View File

@ -4,5 +4,5 @@ error[E0571]: `break` with value from a `for` loop
22 | break 22
| ^^^^^^^^ can only break with a value inside `loop`
error: aborting due to previous error(s)
error: aborting due to previous error

View File

@ -4,5 +4,5 @@ error: expected a literal
12 | println!(3 + 4);
| ^^^^^
error: aborting due to previous error(s)
error: aborting due to previous error

View File

@ -48,5 +48,5 @@ error: named argument never used
= help: `$NAME` should be written as `{NAME}`
= note: shell formatting not supported; see the documentation for `std::fmt`
error: aborting due to previous error(s)
error: aborting due to 4 previous errors

View File

@ -52,5 +52,5 @@ error[E0613]: attempted to access tuple index `0` on type `{integer}`, but the t
56 | let _ = fake_anon_field_expr!();
| ----------------------- in this macro invocation
error: aborting due to previous error(s)
error: aborting due to 6 previous errors

View File

@ -16,5 +16,5 @@ error[E0425]: cannot find value `fake` in this scope
28 | call_nested_expr_sum!();
| ------------------------ in this macro invocation
error: aborting due to previous error(s)
error: aborting due to 2 previous errors

View File

@ -7,5 +7,5 @@ error: invalid reference to argument `0` (no arguments given)
28 | myprintln!("{}");
| ----------------- in this macro invocation
error: aborting due to previous error(s)
error: aborting due to previous error

View File

@ -22,5 +22,5 @@ error[E0053]: method `bar` has an incompatible type for trait
= note: expected type `fn(&Bar)`
found type `fn(&mut Bar)`
error: aborting due to previous error(s)
error: aborting due to 2 previous errors

View File

@ -9,5 +9,5 @@ error[E0281]: type mismatch: `[closure@$DIR/E0281.rs:14:9: 14:24]` implements th
|
= note: required by `foo`
error: aborting due to previous error(s)
error: aborting due to 2 previous errors

View File

@ -15,5 +15,5 @@ error[E0308]: mismatched types
= note: expected type `&{integer}`
found type `{integer}`
error: aborting due to previous error(s)
error: aborting due to previous error

View File

@ -52,5 +52,5 @@ error[E0308]: mismatched types
= note: expected type `X<X<_, std::string::String>, _>`
found type `X<X<_, {integer}>, _>`
error: aborting due to previous error(s)
error: aborting due to 6 previous errors

View File

@ -46,5 +46,5 @@ error[E0277]: the trait bound `{integer}: std::cmp::PartialEq<std::result::Resul
|
= help: the trait `std::cmp::PartialEq<std::result::Result<{integer}, _>>` is not implemented for `{integer}`
error: aborting due to previous error(s)
error: aborting due to 7 previous errors

View File

@ -246,5 +246,5 @@ help: did you mean `*s`?
81 | vec![0.0].iter().map(|s| s as f32).collect::<Vec<f32>>();
| ^
error: aborting due to previous error(s)
error: aborting due to 34 previous errors

View File

@ -31,5 +31,5 @@ error[E0593]: closure takes 1 argument but 2 arguments are required
| |
| expected closure that takes 2 arguments
error: aborting due to previous error(s)
error: aborting due to 7 previous errors

View File

@ -20,5 +20,5 @@ error[E0281]: type mismatch: `[closure@$DIR/closure-mismatch.rs:18:9: 18:15]` im
= note: required because of the requirements on the impl of `Foo` for `[closure@$DIR/closure-mismatch.rs:18:9: 18:15]`
= note: required by `baz`
error: aborting due to previous error(s)
error: aborting due to 2 previous errors

View File

@ -10,5 +10,5 @@ error[E0379]: trait fns cannot be declared const
21 | const fn f() -> u32 { 22 }
| ^^^^^ trait fns cannot be const
error: aborting due to previous error(s)
error: aborting due to 2 previous errors

View File

@ -14,5 +14,5 @@ error[E0281]: type mismatch: `fn(&isize) {takes_imm}` implements the trait `for<
|
= note: required by `apply`
error: aborting due to previous error(s)
error: aborting due to 2 previous errors

View File

@ -9,5 +9,5 @@ error[E0308]: mismatched types
= note: expected type `()`
found type `*mut Trait`
error: aborting due to previous error(s)
error: aborting due to previous error

View File

@ -18,5 +18,5 @@ error[E0605]: non-primitive cast: `{integer}` as `()`
|
= note: an `as` expression can only be used to convert between primitive types. Consider using the `From` trait
error: aborting due to previous error(s)
error: aborting due to 2 previous errors

View File

@ -7,5 +7,5 @@ error[E0308]: mismatched types
= note: expected type `bool` (type parameter)
found type `bool` (bool)
error: aborting due to previous error(s)
error: aborting due to previous error

View File

@ -17,5 +17,5 @@ error[E0281]: type mismatch: `[closure@$DIR/issue-36053-2.rs:17:39: 17:53]` impl
| requires `for<'r> std::ops::FnMut<(&'r &str,)>`
| expected &str, found str
error: aborting due to previous error(s)
error: aborting due to 3 previous errors

View File

@ -32,5 +32,5 @@ error[E0529]: expected an array or slice, found `u32`
34 | fn ugh(&[bar]: &u32) {
| ^^^^^ pattern cannot match with input type `u32`
error: aborting due to previous error(s)
error: aborting due to 4 previous errors

View File

@ -9,5 +9,5 @@ error[E0308]: mismatched types
= note: expected type `u32`
found type `()`
error: aborting due to previous error(s)
error: aborting due to previous error

View File

@ -7,5 +7,5 @@ error[E0599]: no method named `unwrap` found for type `std::result::Result<(), F
= note: the method `unwrap` exists but the following trait bounds were not satisfied:
`Foo : std::fmt::Debug`
error: aborting due to previous error(s)
error: aborting due to previous error

View File

@ -19,5 +19,5 @@ error[E0057]: this function takes 1 parameter but 2 parameters were supplied
45 | let ans = s("burma", "shave");
| ^^^^^^^^^^^^^^^^ expected 1 parameter
error: aborting due to previous error(s)
error: aborting due to 3 previous errors

View File

@ -7,5 +7,5 @@ error[E0308]: mismatched types
= note: expected type `std::boxed::Box<Foo + std::marker::Send + 'static>`
found type `std::boxed::Box<Foo + 'static>`
error: aborting due to previous error(s)
error: aborting due to previous error

View File

@ -22,5 +22,5 @@ error[E0053]: method `bar` has an incompatible type for trait
= note: expected type `fn(&mut Bar, &mut Bar)`
found type `fn(&mut Bar, &Bar)`
error: aborting due to previous error(s)
error: aborting due to 2 previous errors

View File

@ -12,5 +12,5 @@ error[E0281]: type mismatch: `[closure@$DIR/unboxed-closures-vtable-mismatch.rs:
|
= note: required by `call_it`
error: aborting due to previous error(s)
error: aborting due to 2 previous errors

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