diff options
Diffstat (limited to 'tests/ui/impl-trait/issue-103181-1.current.stderr')
-rw-r--r-- | tests/ui/impl-trait/issue-103181-1.current.stderr | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/ui/impl-trait/issue-103181-1.current.stderr b/tests/ui/impl-trait/issue-103181-1.current.stderr new file mode 100644 index 000000000..e87a9d28a --- /dev/null +++ b/tests/ui/impl-trait/issue-103181-1.current.stderr @@ -0,0 +1,12 @@ +error[E0046]: not all trait items implemented, missing: `Error` + --> $DIR/issue-103181-1.rs:11:5 + | +LL | type Error; + | ---------- `Error` from trait +LL | } +LL | impl HttpBody for () { + | ^^^^^^^^^^^^^^^^^^^^ missing `Error` in implementation + +error: aborting due to previous error + +For more information about this error, try `rustc --explain E0046`. |