aboutsummaryrefslogtreecommitdiff
path: root/tests/ui/pin_project/unpin_sneaky.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/pin_project/unpin_sneaky.stderr')
-rw-r--r--tests/ui/pin_project/unpin_sneaky.stderr6
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/ui/pin_project/unpin_sneaky.stderr b/tests/ui/pin_project/unpin_sneaky.stderr
index 4eb6eff..aadd1f9 100644
--- a/tests/ui/pin_project/unpin_sneaky.stderr
+++ b/tests/ui/pin_project/unpin_sneaky.stderr
@@ -3,9 +3,3 @@ error[E0412]: cannot find type `__Origin` in this scope
|
10 | impl Unpin for __Origin {} //~ ERROR E0412,E0321
| ^^^^^^^^ not found in this scope
-
-error[E0321]: cross-crate traits with a default impl, like `Unpin`, can only be implemented for a struct/enum type, not `[type error]`
- --> tests/ui/pin_project/unpin_sneaky.rs:10:1
- |
-10 | impl Unpin for __Origin {} //~ ERROR E0412,E0321
- | ^^^^^^^^^^^^^^^^^^^^^^^ can't implement cross-crate trait with a default impl for non-struct/enum type