Skip to content

Commit 88e63c3

Browse files
committed
tests: ui: fix nightly output
Signed-off-by: Benno Lossin <[email protected]>
1 parent 9a5e454 commit 88e63c3

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

tests/ui/compile-fail/pinned_drop/no_pin_data_but_pinned_drop.stderr

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,13 @@ error[E0277]: the trait bound `Foo: HasPinData` is not satisfied
22
--> tests/ui/compile-fail/pinned_drop/no_pin_data_but_pinned_drop.rs:7:21
33
|
44
7 | impl PinnedDrop for Foo {
5-
| ^^^ the trait `HasPinData` is not implemented for `Foo`
5+
| ^^^ unsatisfied trait bound
66
|
7+
help: the trait `HasPinData` is not implemented for `Foo`
8+
--> tests/ui/compile-fail/pinned_drop/no_pin_data_but_pinned_drop.rs:4:1
9+
|
10+
4 | struct Foo {}
11+
| ^^^^^^^^^^
712
note: required by a bound in `PinnedDrop`
813
--> src/lib.rs
914
|

0 commit comments

Comments
 (0)