summaryrefslogtreecommitdiffstats
path: root/tests/ui/trivial-bounds
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/trivial-bounds')
-rw-r--r--tests/ui/trivial-bounds/trivial-bounds-inconsistent-projection-error.stderr2
-rw-r--r--tests/ui/trivial-bounds/trivial-bounds-leak-copy.stderr2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/trivial-bounds/trivial-bounds-inconsistent-projection-error.stderr b/tests/ui/trivial-bounds/trivial-bounds-inconsistent-projection-error.stderr
index 26679e713..554b3a64c 100644
--- a/tests/ui/trivial-bounds/trivial-bounds-inconsistent-projection-error.stderr
+++ b/tests/ui/trivial-bounds/trivial-bounds-inconsistent-projection-error.stderr
@@ -12,6 +12,6 @@ help: you can convert an `i32` to a `u8` and panic if the converted value doesn'
LL | B::get_x().try_into().unwrap()
| ++++++++++++++++++++
-error: aborting due to previous error
+error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0308`.
diff --git a/tests/ui/trivial-bounds/trivial-bounds-leak-copy.stderr b/tests/ui/trivial-bounds/trivial-bounds-leak-copy.stderr
index b3ec3cd8d..e48d48a72 100644
--- a/tests/ui/trivial-bounds/trivial-bounds-leak-copy.stderr
+++ b/tests/ui/trivial-bounds/trivial-bounds-leak-copy.stderr
@@ -4,6 +4,6 @@ error[E0507]: cannot move out of `*t` which is behind a shared reference
LL | *t
| ^^ move occurs because `*t` has type `String`, which does not implement the `Copy` trait
-error: aborting due to previous error
+error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0507`.