]>
Commit | Line | Data |
---|---|---|
5869c6ff XL |
1 | error[E0412]: cannot find type `__Origin` in this scope |
2 | --> $DIR/unpin_sneaky.rs:10:16 | |
3 | | | |
4 | 10 | impl Unpin for __Origin {} //~ ERROR E0412,E0321 | |
5 | | ^^^^^^^^ not found in this scope | |
6 | ||
7 | error[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 | | | |
10 | 10 | impl Unpin for __Origin {} //~ ERROR E0412,E0321 | |
11 | | ^^^^^^^^^^^^^^^^^^^^^^^ can't implement cross-crate trait with a default impl for non-struct/enum type |