diff options
Diffstat (limited to 'tests/ui/traits/object')
8 files changed, 8 insertions, 8 deletions
diff --git a/tests/ui/traits/object/auto-dedup-in-impl.stderr b/tests/ui/traits/object/auto-dedup-in-impl.stderr index 5f13c7813..075f3c338 100644 --- a/tests/ui/traits/object/auto-dedup-in-impl.stderr +++ b/tests/ui/traits/object/auto-dedup-in-impl.stderr @@ -7,6 +7,6 @@ LL | fn test(&self) { println!("one"); } LL | fn test(&self) { println!("two"); } | -------------- other definition for `test` -error: aborting due to previous error +error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0592`. diff --git a/tests/ui/traits/object/enforce-supertrait-projection.stderr b/tests/ui/traits/object/enforce-supertrait-projection.stderr index 2fb94d348..198a185dd 100644 --- a/tests/ui/traits/object/enforce-supertrait-projection.stderr +++ b/tests/ui/traits/object/enforce-supertrait-projection.stderr @@ -21,6 +21,6 @@ LL | where LL | T: Trait<B = B>, | ^^^^^^^^^^^^ required by this bound in `foo` -error: aborting due to previous error +error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0271`. diff --git a/tests/ui/traits/object/issue-44454-1.stderr b/tests/ui/traits/object/issue-44454-1.stderr index 859487f50..e85b46769 100644 --- a/tests/ui/traits/object/issue-44454-1.stderr +++ b/tests/ui/traits/object/issue-44454-1.stderr @@ -6,5 +6,5 @@ LL | fn bar<'a>(_arg: &'a i32) { LL | foo::<dyn Animal<&'a i32>, &'a i32>() | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ requires that `'a` must outlive `'static` -error: aborting due to previous error +error: aborting due to 1 previous error diff --git a/tests/ui/traits/object/issue-44454-2.stderr b/tests/ui/traits/object/issue-44454-2.stderr index 7f574769b..366b519ae 100644 --- a/tests/ui/traits/object/issue-44454-2.stderr +++ b/tests/ui/traits/object/issue-44454-2.stderr @@ -12,6 +12,6 @@ LL | hr::<DynTrait, _>(x) | `x` escapes the function body here | argument requires that `'a` must outlive `'static` -error: aborting due to previous error +error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0521`. diff --git a/tests/ui/traits/object/issue-44454-3.stderr b/tests/ui/traits/object/issue-44454-3.stderr index 294684d26..5b1ebf2d1 100644 --- a/tests/ui/traits/object/issue-44454-3.stderr +++ b/tests/ui/traits/object/issue-44454-3.stderr @@ -7,5 +7,5 @@ LL | let x: <dyn Animal<&'a T> as Projector>::Foo = t; LL | let any = generic::<dyn Animal<&'a T>, &'a T>(x); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ requires that `'a` must outlive `'static` -error: aborting due to previous error +error: aborting due to 1 previous error diff --git a/tests/ui/traits/object/object-unsafe-missing-assoc-type.stderr b/tests/ui/traits/object/object-unsafe-missing-assoc-type.stderr index fcaa583e2..196e74d39 100644 --- a/tests/ui/traits/object/object-unsafe-missing-assoc-type.stderr +++ b/tests/ui/traits/object/object-unsafe-missing-assoc-type.stderr @@ -13,6 +13,6 @@ LL | type Bar<T>; | ^^^ ...because it contains the generic associated type `Bar` = help: consider moving `Bar` to another trait -error: aborting due to previous error +error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0038`. diff --git a/tests/ui/traits/object/supertrait-lifetime-bound.stderr b/tests/ui/traits/object/supertrait-lifetime-bound.stderr index ed2f86243..4fd7d2f0e 100644 --- a/tests/ui/traits/object/supertrait-lifetime-bound.stderr +++ b/tests/ui/traits/object/supertrait-lifetime-bound.stderr @@ -7,5 +7,5 @@ LL | fn test2<'a>() { LL | test1::<dyn Bar<&'a u32>, _>(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ requires that `'a` must outlive `'static` -error: aborting due to previous error +error: aborting due to 1 previous error diff --git a/tests/ui/traits/object/vs-lifetime-2.stderr b/tests/ui/traits/object/vs-lifetime-2.stderr index 9b8e793df..9a2bb7d1c 100644 --- a/tests/ui/traits/object/vs-lifetime-2.stderr +++ b/tests/ui/traits/object/vs-lifetime-2.stderr @@ -4,6 +4,6 @@ error[E0224]: at least one trait is required for an object type LL | dyn 'static +: 'static + Copy, | ^^^^^^^^^^^^^ -error: aborting due to previous error +error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0224`. |