You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| --- required by a bound in this associated function
83
+
| pub struct UnsafeOverwriteGuard<T> {
84
+
| ^ required by the implicit `Sized` requirement on this type parameter in `UnsafeOverwriteGuard`
88
85
= note: this error originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` (in Nightly builds, run with -Z macro-backtrace for more info)
89
86
help: consider removing the `?Sized` bound to make the type parameter `Sized`
90
87
|
@@ -150,14 +147,11 @@ note: required because it appears within the type `TupleStruct<T>`
150
147
|
151
148
11 | struct TupleStruct<T: ?Sized>(T);
152
149
| ^^^^^^^^^^^
153
-
note: required by a bound in `UnsafeOverwriteGuard::<T>::new`
150
+
note: required by an implicit `Sized` bound in `UnsafeOverwriteGuard`
154
151
--> src/lib.rs
155
152
|
156
-
| impl<T> UnsafeOverwriteGuard<T> {
157
-
| ^ required by this bound in `UnsafeOverwriteGuard::<T>::new`
| --- required by a bound in this associated function
153
+
| pub struct UnsafeOverwriteGuard<T> {
154
+
| ^ required by the implicit `Sized` requirement on this type parameter in `UnsafeOverwriteGuard`
161
155
= note: this error originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` (in Nightly builds, run with -Z macro-backtrace for more info)
162
156
help: consider removing the `?Sized` bound to make the type parameter `Sized`
| --- required by a bound in this associated function
59
+
| pub struct UnsafeOverwriteGuard<T> {
60
+
| ^ required by the implicit `Sized` requirement on this type parameter in `UnsafeOverwriteGuard`
64
61
= note: this error originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` (in Nightly builds, run with -Z macro-backtrace for more info)
65
62
help: consider removing the `?Sized` bound to make the type parameter `Sized`
66
63
|
@@ -102,14 +99,11 @@ note: required because it appears within the type `TupleStruct<T>`
102
99
|
103
100
14 | struct TupleStruct<T: ?Sized>(T);
104
101
| ^^^^^^^^^^^
105
-
note: required by a bound in `UnsafeOverwriteGuard::<T>::new`
102
+
note: required by an implicit `Sized` bound in `UnsafeOverwriteGuard`
106
103
--> src/lib.rs
107
104
|
108
-
| impl<T> UnsafeOverwriteGuard<T> {
109
-
| ^ required by this bound in `UnsafeOverwriteGuard::<T>::new`
| --- required by a bound in this associated function
105
+
| pub struct UnsafeOverwriteGuard<T> {
106
+
| ^ required by the implicit `Sized` requirement on this type parameter in `UnsafeOverwriteGuard`
113
107
= note: this error originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` (in Nightly builds, run with -Z macro-backtrace for more info)
114
108
help: consider removing the `?Sized` bound to make the type parameter `Sized`
0 commit comments