diff options
Diffstat (limited to '')
-rw-r--r-- | tests/ui/traits/next-solver/upcast-wrong-substs.stderr (renamed from tests/ui/traits/new-solver/upcast-wrong-substs.stderr) | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/traits/new-solver/upcast-wrong-substs.stderr b/tests/ui/traits/next-solver/upcast-wrong-substs.stderr index 8623f395f..00ba1ef67 100644 --- a/tests/ui/traits/new-solver/upcast-wrong-substs.stderr +++ b/tests/ui/traits/next-solver/upcast-wrong-substs.stderr @@ -1,5 +1,5 @@ error[E0308]: mismatched types - --> $DIR/upcast-wrong-substs.rs:11:30 + --> $DIR/upcast-wrong-substs.rs:9:30 | LL | let y: &dyn Bar<usize> = x; | --------------- ^ expected trait `Bar`, found trait `Foo` @@ -9,6 +9,6 @@ LL | let y: &dyn Bar<usize> = x; = note: expected reference `&dyn Bar<usize>` found reference `&dyn Foo` -error: aborting due to previous error +error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0308`. |