• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1error[E0412]: cannot find type `__Origin` in this scope
2  --> $DIR/unpin_sneaky.rs:10:16
3   |
410 | impl Unpin for __Origin {} //~ 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:10:1
9   |
1010 | impl Unpin for __Origin {} //~ ERROR E0412,E0321
11   | ^^^^^^^^^^^^^^^^^^^^^^^ can't implement cross-crate trait with a default impl for non-struct/enum type
12