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/not_unpin/conflict-unpin.stderr
+6
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,8 @@ error[E0119]: conflicting implementations of trait `Unpin` for type `Foo<_, _>`
6
6
...
7
7
12 | impl<T, U> Unpin for Foo<T, U> where T: Unpin {}
8
8
| --------------------------------------------- first implementation here
9
+
|
10
+
= note: upstream crates may add a new impl of trait `std::marker::Unpin` for type `_::_pin_project::__private::Wrapper<'_, std::marker::PhantomPinned>` in future versions
9
11
10
12
error[E0119]: conflicting implementations of trait `Unpin` for type `Bar<_, _>`
11
13
--> tests/ui/not_unpin/conflict-unpin.rs:14:15
@@ -15,6 +17,8 @@ error[E0119]: conflicting implementations of trait `Unpin` for type `Bar<_, _>`
15
17
...
16
18
21 | impl<T, U> Unpin for Bar<T, U> {}
17
19
| ------------------------------ first implementation here
20
+
|
21
+
= note: upstream crates may add a new impl of trait `std::marker::Unpin` for type `_::_pin_project::__private::Wrapper<'_, std::marker::PhantomPinned>` in future versions
18
22
19
23
error[E0119]: conflicting implementations of trait `Unpin` for type `Baz<_, _>`
20
24
--> tests/ui/not_unpin/conflict-unpin.rs:23:15
@@ -24,3 +28,5 @@ error[E0119]: conflicting implementations of trait `Unpin` for type `Baz<_, _>`
| -------------------------------------------- first implementation here
31
+
|
32
+
= note: upstream crates may add a new impl of trait `std::marker::Unpin` for type `_::_pin_project::__private::Wrapper<'_, std::marker::PhantomPinned>` in future versions
Copy file name to clipboardExpand all lines: tests/ui/not_unpin/impl-unsafe-unpin.stderr
+3
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,7 @@ error[E0119]: conflicting implementations of trait `UnsafeUnpin` for type `Foo<_
7
7
12 | unsafe impl<T, U> UnsafeUnpin for Foo<T, U> where T: Unpin {}
8
8
| ---------------------------------------------------------- first implementation here
9
9
|
10
+
= note: upstream crates may add a new impl of trait `std::marker::Unpin` for type `_::_pin_project::__private::Wrapper<'_, std::marker::PhantomPinned>` in future versions
10
11
= note: this error originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` (in Nightly builds, run with -Z macro-backtrace for more info)
11
12
12
13
error[E0119]: conflicting implementations of trait `UnsafeUnpin` for type `Bar<_, _>`
@@ -18,6 +19,7 @@ error[E0119]: conflicting implementations of trait `UnsafeUnpin` for type `Bar<_
18
19
21 | unsafe impl<T, U> UnsafeUnpin for Bar<T, U> {}
19
20
| ------------------------------------------- first implementation here
20
21
|
22
+
= note: upstream crates may add a new impl of trait `std::marker::Unpin` for type `_::_pin_project::__private::Wrapper<'_, std::marker::PhantomPinned>` in future versions
21
23
= note: this error originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` (in Nightly builds, run with -Z macro-backtrace for more info)
22
24
23
25
error[E0119]: conflicting implementations of trait `UnsafeUnpin` for type `Baz<_, _>`
@@ -29,4 +31,5 @@ error[E0119]: conflicting implementations of trait `UnsafeUnpin` for type `Baz<_
| --------------------------------------------------------- first implementation here
31
33
|
34
+
= note: upstream crates may add a new impl of trait `std::marker::Unpin` for type `_::_pin_project::__private::Wrapper<'_, std::marker::PhantomPinned>` in future versions
32
35
= note: this error originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` (in Nightly builds, run with -Z macro-backtrace for more info)
0 commit comments