We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a5e454 commit 88e63c3Copy full SHA for 88e63c3
tests/ui/compile-fail/pinned_drop/no_pin_data_but_pinned_drop.stderr
@@ -2,8 +2,13 @@ error[E0277]: the trait bound `Foo: HasPinData` is not satisfied
2
--> tests/ui/compile-fail/pinned_drop/no_pin_data_but_pinned_drop.rs:7:21
3
|
4
7 | impl PinnedDrop for Foo {
5
- | ^^^ the trait `HasPinData` is not implemented for `Foo`
+ | ^^^ unsatisfied trait bound
6
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
+ | ^^^^^^^^^^
12
note: required by a bound in `PinnedDrop`
13
--> src/lib.rs
14
0 commit comments