• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1error[E0119]: conflicting implementations of trait `std::marker::Unpin` for type `Foo<_, _>`:
2  --> $DIR/conflict-unpin.rs:3:15
3   |
43  | #[pin_project(!Unpin)] //~ ERROR E0119
5   |               ^^^^^^ conflicting implementation for `Foo<_, _>`
6...
710 | impl<T, U> Unpin for Foo<T, U> where T: Unpin {}
8   | --------------------------------------------- first implementation here
9
10error[E0119]: conflicting implementations of trait `std::marker::Unpin` for type `Bar<_, _>`:
11  --> $DIR/conflict-unpin.rs:12:15
12   |
1312 | #[pin_project(!Unpin)] //~ ERROR E0119
14   |               ^^^^^^ conflicting implementation for `Bar<_, _>`
15...
1619 | impl<T, U> Unpin for Bar<T, U> {}
17   | ------------------------------ first implementation here
18
19error[E0119]: conflicting implementations of trait `std::marker::Unpin` for type `Baz<_, _>`:
20  --> $DIR/conflict-unpin.rs:21:15
21   |
2221 | #[pin_project(!Unpin)] //~ ERROR E0119
23   |               ^^^^^^ conflicting implementation for `Baz<_, _>`
24...
2528 | impl<T: Unpin, U: Unpin> Unpin for Baz<T, U> {}
26   | -------------------------------------------- first implementation here
27