diff options
Diffstat (limited to 'tests/ui/union')
| -rw-r--r-- | tests/ui/union/issue-41073.stderr | 2 | ||||
| -rw-r--r-- | tests/ui/union/projection-as-union-type-error-2.stderr | 2 | ||||
| -rw-r--r-- | tests/ui/union/projection-as-union-type-error.stderr | 2 | ||||
| -rw-r--r-- | tests/ui/union/union-const-pat.stderr | 2 | ||||
| -rw-r--r-- | tests/ui/union/union-copy.stderr | 2 | ||||
| -rw-r--r-- | tests/ui/union/union-derive-eq.mirunsafeck.stderr | 2 | ||||
| -rw-r--r-- | tests/ui/union/union-derive-eq.thirunsafeck.stderr | 2 | ||||
| -rw-r--r-- | tests/ui/union/union-empty.stderr | 2 | ||||
| -rw-r--r-- | tests/ui/union/union-lint-dead-code.mirunsafeck.stderr | 2 | ||||
| -rw-r--r-- | tests/ui/union/union-lint-dead-code.thirunsafeck.stderr | 2 | ||||
| -rw-r--r-- | tests/ui/union/union-nonrepresentable.stderr | 2 | ||||
| -rw-r--r-- | tests/ui/union/union-repr-c.stderr | 2 | ||||
| -rw-r--r-- | tests/ui/union/unresolved-field-isnt-copy.stderr | 2 |
13 files changed, 13 insertions, 13 deletions
diff --git a/tests/ui/union/issue-41073.stderr b/tests/ui/union/issue-41073.stderr index ae1c4dfed9a..c9b6903b1bf 100644 --- a/tests/ui/union/issue-41073.stderr +++ b/tests/ui/union/issue-41073.stderr @@ -10,6 +10,6 @@ help: wrap the field type in `ManuallyDrop<...>` LL | a: std::mem::ManuallyDrop<A>, | +++++++++++++++++++++++ + -error: aborting due to previous error +error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0740`. diff --git a/tests/ui/union/projection-as-union-type-error-2.stderr b/tests/ui/union/projection-as-union-type-error-2.stderr index 21f4ea103ad..3b073ca1fb4 100644 --- a/tests/ui/union/projection-as-union-type-error-2.stderr +++ b/tests/ui/union/projection-as-union-type-error-2.stderr @@ -17,6 +17,6 @@ LL | impl<T: NotImplemented> Identity for T { | | | unsatisfied trait bound introduced here -error: aborting due to previous error +error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0277`. diff --git a/tests/ui/union/projection-as-union-type-error.stderr b/tests/ui/union/projection-as-union-type-error.stderr index 2b0241caf98..f43fb2fe9e5 100644 --- a/tests/ui/union/projection-as-union-type-error.stderr +++ b/tests/ui/union/projection-as-union-type-error.stderr @@ -10,6 +10,6 @@ help: this trait has no implementations, consider adding one LL | pub trait Identity { | ^^^^^^^^^^^^^^^^^^ -error: aborting due to previous error +error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0277`. diff --git a/tests/ui/union/union-const-pat.stderr b/tests/ui/union/union-const-pat.stderr index dc87f4de521..e9dbb275944 100644 --- a/tests/ui/union/union-const-pat.stderr +++ b/tests/ui/union/union-const-pat.stderr @@ -4,5 +4,5 @@ error: cannot use unions in constant patterns LL | C => {} | ^ -error: aborting due to previous error +error: aborting due to 1 previous error diff --git a/tests/ui/union/union-copy.stderr b/tests/ui/union/union-copy.stderr index ff6fa48db90..bd63908b49a 100644 --- a/tests/ui/union/union-copy.stderr +++ b/tests/ui/union/union-copy.stderr @@ -13,6 +13,6 @@ note: the `Copy` impl for `ManuallyDrop<String>` requires that `String: Copy` LL | a: std::mem::ManuallyDrop<String> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -error: aborting due to previous error +error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0204`. diff --git a/tests/ui/union/union-derive-eq.mirunsafeck.stderr b/tests/ui/union/union-derive-eq.mirunsafeck.stderr index 136cd883e26..86e7c955d2e 100644 --- a/tests/ui/union/union-derive-eq.mirunsafeck.stderr +++ b/tests/ui/union/union-derive-eq.mirunsafeck.stderr @@ -16,6 +16,6 @@ LL + #[derive(Eq)] LL | struct PartialEqNotEq; | -error: aborting due to previous error +error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0277`. diff --git a/tests/ui/union/union-derive-eq.thirunsafeck.stderr b/tests/ui/union/union-derive-eq.thirunsafeck.stderr index 136cd883e26..86e7c955d2e 100644 --- a/tests/ui/union/union-derive-eq.thirunsafeck.stderr +++ b/tests/ui/union/union-derive-eq.thirunsafeck.stderr @@ -16,6 +16,6 @@ LL + #[derive(Eq)] LL | struct PartialEqNotEq; | -error: aborting due to previous error +error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0277`. diff --git a/tests/ui/union/union-empty.stderr b/tests/ui/union/union-empty.stderr index a80b27e6eb5..03a939769c7 100644 --- a/tests/ui/union/union-empty.stderr +++ b/tests/ui/union/union-empty.stderr @@ -4,5 +4,5 @@ error: unions cannot have zero fields LL | union U {} | ^^^^^^^^^^ -error: aborting due to previous error +error: aborting due to 1 previous error diff --git a/tests/ui/union/union-lint-dead-code.mirunsafeck.stderr b/tests/ui/union/union-lint-dead-code.mirunsafeck.stderr index 6e21584c37c..8a3677d525d 100644 --- a/tests/ui/union/union-lint-dead-code.mirunsafeck.stderr +++ b/tests/ui/union/union-lint-dead-code.mirunsafeck.stderr @@ -13,5 +13,5 @@ note: the lint level is defined here LL | #![deny(dead_code)] | ^^^^^^^^^ -error: aborting due to previous error +error: aborting due to 1 previous error diff --git a/tests/ui/union/union-lint-dead-code.thirunsafeck.stderr b/tests/ui/union/union-lint-dead-code.thirunsafeck.stderr index 6e21584c37c..8a3677d525d 100644 --- a/tests/ui/union/union-lint-dead-code.thirunsafeck.stderr +++ b/tests/ui/union/union-lint-dead-code.thirunsafeck.stderr @@ -13,5 +13,5 @@ note: the lint level is defined here LL | #![deny(dead_code)] | ^^^^^^^^^ -error: aborting due to previous error +error: aborting due to 1 previous error diff --git a/tests/ui/union/union-nonrepresentable.stderr b/tests/ui/union/union-nonrepresentable.stderr index c266d2e9e13..90d38727f22 100644 --- a/tests/ui/union/union-nonrepresentable.stderr +++ b/tests/ui/union/union-nonrepresentable.stderr @@ -12,6 +12,6 @@ help: insert some indirection (e.g., a `Box`, `Rc`, or `&`) to break the cycle LL | b: std::mem::ManuallyDrop<Box<U>>, | ++++ + -error: aborting due to previous error +error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0072`. diff --git a/tests/ui/union/union-repr-c.stderr b/tests/ui/union/union-repr-c.stderr index 49124eee5ee..0beb7c376f3 100644 --- a/tests/ui/union/union-repr-c.stderr +++ b/tests/ui/union/union-repr-c.stderr @@ -17,5 +17,5 @@ note: the lint level is defined here LL | #![deny(improper_ctypes)] | ^^^^^^^^^^^^^^^ -error: aborting due to previous error +error: aborting due to 1 previous error diff --git a/tests/ui/union/unresolved-field-isnt-copy.stderr b/tests/ui/union/unresolved-field-isnt-copy.stderr index 22301582eef..ee5d1e37b14 100644 --- a/tests/ui/union/unresolved-field-isnt-copy.stderr +++ b/tests/ui/union/unresolved-field-isnt-copy.stderr @@ -4,6 +4,6 @@ error[E0412]: cannot find type `Missing` in this scope LL | x: *const Missing, | ^^^^^^^ not found in this scope -error: aborting due to previous error +error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0412`. |
