diff options
Diffstat (limited to 'tests/ui/traits/trait-upcasting/illegal-upcast-from-impl.next.stderr')
-rw-r--r-- | tests/ui/traits/trait-upcasting/illegal-upcast-from-impl.next.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/traits/trait-upcasting/illegal-upcast-from-impl.next.stderr b/tests/ui/traits/trait-upcasting/illegal-upcast-from-impl.next.stderr index 59c9d5737..1538e2f3f 100644 --- a/tests/ui/traits/trait-upcasting/illegal-upcast-from-impl.next.stderr +++ b/tests/ui/traits/trait-upcasting/illegal-upcast-from-impl.next.stderr @@ -9,6 +9,6 @@ LL | fn illegal(x: &dyn Sub<Assoc = ()>) -> &dyn Super<Assoc = i32> { x } = note: expected reference `&dyn Super<Assoc = i32>` found reference `&dyn Sub<Assoc = ()>` -error: aborting due to previous error +error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0308`. |