summaryrefslogtreecommitdiffstats
path: root/tests/ui/traits/reservation-impl/no-use.old.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/traits/reservation-impl/no-use.old.stderr')
-rw-r--r--tests/ui/traits/reservation-impl/no-use.old.stderr6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/ui/traits/reservation-impl/no-use.old.stderr b/tests/ui/traits/reservation-impl/no-use.old.stderr
index 542e3a28a..632f0f816 100644
--- a/tests/ui/traits/reservation-impl/no-use.old.stderr
+++ b/tests/ui/traits/reservation-impl/no-use.old.stderr
@@ -1,10 +1,8 @@
error[E0277]: the trait bound `(): MyTrait` is not satisfied
- --> $DIR/no-use.rs:11:26
+ --> $DIR/no-use.rs:11:6
|
LL | <() as MyTrait>::foo(&());
- | -------------------- ^^^ the trait `MyTrait` is not implemented for `()`
- | |
- | required by a bound introduced by this call
+ | ^^ the trait `MyTrait` is not implemented for `()`
|
= help: the trait `MyTrait` is implemented for `()`