]> git.proxmox.com Git - rustc.git/blame - vendor/pin-project-lite/tests/ui/pin_project/unpin_sneaky.stderr
Merge tag 'debian/1.52.1+dfsg1-1_exp2' into proxmox/buster
[rustc.git] / vendor / pin-project-lite / tests / ui / pin_project / unpin_sneaky.stderr
CommitLineData
5869c6ff
XL
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