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
Copy file name to clipboardExpand all lines: tests/ui/compile-fail/pin_data/twice.stderr
-32Lines changed: 0 additions & 32 deletions
Original file line number
Diff line number
Diff line change
@@ -9,22 +9,6 @@ error[E0119]: conflicting implementations of trait `HasPinData` for type `Foo`
9
9
|
10
10
= note: this error originates in the macro `$crate::__pin_data` which comes from the expansion of the attribute macro `pin_data` (in Nightly builds, run with -Z macro-backtrace for more info)
11
11
12
-
error[E0282]: type annotations needed
13
-
--> tests/ui/compile-fail/pin_data/twice.rs:3:1
14
-
|
15
-
3 | #[pin_data]
16
-
| ^^^^^^^^^^^ cannot infer type
17
-
|
18
-
note: the requirement `_ <: _` appears on the `impl`'s method `__pin_data` but not on the corresponding trait's method
19
-
--> src/__internal.rs
20
-
|
21
-
| pub unsafe trait HasPinData {
22
-
| ---------- in this trait
23
-
...
24
-
| unsafe fn __pin_data() -> Self::PinData;
25
-
| ^^^^^^^^^^ this trait's method doesn't have the requirement `_ <: _`
26
-
= note: this error originates in the macro `$crate::__pin_data` which comes from the expansion of the attribute macro `pin_data` (in Nightly builds, run with -Z macro-backtrace for more info)
27
-
28
12
error[E0119]: conflicting implementations of trait `Unpin` for type `Foo`
29
13
--> tests/ui/compile-fail/pin_data/twice.rs:3:1
30
14
|
@@ -35,19 +19,3 @@ error[E0119]: conflicting implementations of trait `Unpin` for type `Foo`
35
19
| conflicting implementation for `Foo`
36
20
|
37
21
= note: this error originates in the macro `$crate::__pin_data` which comes from the expansion of the attribute macro `pin_data` (in Nightly builds, run with -Z macro-backtrace for more info)
38
-
39
-
error[E0282]: type annotations needed
40
-
--> tests/ui/compile-fail/pin_data/twice.rs:3:1
41
-
|
42
-
3 | #[pin_data]
43
-
| ^^^^^^^^^^^ cannot infer type
44
-
|
45
-
note: the requirement `_ <: _` appears on the `impl`'s method `__pin_data` but not on the corresponding trait's method
46
-
--> src/__internal.rs
47
-
|
48
-
| pub unsafe trait HasPinData {
49
-
| ---------- in this trait
50
-
...
51
-
| unsafe fn __pin_data() -> Self::PinData;
52
-
| ^^^^^^^^^^ this trait's method doesn't have the requirement `_ <: _`
53
-
= note: this error originates in the macro `$crate::__pin_data` which comes from the expansion of the attribute macro `pin_data` (in Nightly builds, run with -Z macro-backtrace for more info)
0 commit comments