• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1error[E0412]: cannot find type `__S` in this scope
2 --> $DIR/unpin_sneaky.rs:9:16
3  |
49 | impl Unpin for __S {} //~ ERROR E0412,E0321
5  |                ^^^ not found in this scope
6
7error[E0321]: cross-crate traits with a default impl, like `Unpin`, can only be implemented for a struct/enum type, not `[type error]`
8 --> $DIR/unpin_sneaky.rs:9:1
9  |
109 | impl Unpin for __S {} //~ ERROR E0412,E0321
11  | ^^^^^^^^^^^^^^^^^^ can't implement cross-crate trait with a default impl for non-struct/enum type
12