diff options
Diffstat (limited to '')
-rw-r--r-- | tests/ui/generic-associated-types/missing-bounds.stderr (renamed from src/test/ui/generic-associated-types/missing-bounds.stderr) | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/test/ui/generic-associated-types/missing-bounds.stderr b/tests/ui/generic-associated-types/missing-bounds.stderr index c913483a8..9f669b9a5 100644 --- a/src/test/ui/generic-associated-types/missing-bounds.stderr +++ b/tests/ui/generic-associated-types/missing-bounds.stderr @@ -23,6 +23,13 @@ LL | A(self.0 + rhs.0) | = note: expected type parameter `B` found associated type `<B as Add>::Output` +help: the type constructed contains `<B as Add>::Output` due to the type of the argument passed + --> $DIR/missing-bounds.rs:11:9 + | +LL | A(self.0 + rhs.0) + | ^^--------------^ + | | + | this argument influences the type of `A` note: tuple struct defined here --> $DIR/missing-bounds.rs:5:8 | |