summaryrefslogtreecommitdiffstats
path: root/tests/ui/impl-trait/nested-return-type3.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/impl-trait/nested-return-type3.stderr')
-rw-r--r--tests/ui/impl-trait/nested-return-type3.stderr17
1 files changed, 0 insertions, 17 deletions
diff --git a/tests/ui/impl-trait/nested-return-type3.stderr b/tests/ui/impl-trait/nested-return-type3.stderr
deleted file mode 100644
index 632de71aa..000000000
--- a/tests/ui/impl-trait/nested-return-type3.stderr
+++ /dev/null
@@ -1,17 +0,0 @@
-warning: opaque type `impl Trait<Assoc = impl Send>` does not satisfy its associated type bounds
- --> $DIR/nested-return-type3.rs:15:24
- |
-LL | type Assoc: Duh;
- | --- this associated type bound is unsatisfied for `impl Send`
-...
-LL | fn foo() -> impl Trait<Assoc = impl Send> {
- | ^^^^^^^^^^^^^^^^^
- |
- = note: `#[warn(opaque_hidden_inferred_bound)]` on by default
-help: add this bound
- |
-LL | fn foo() -> impl Trait<Assoc = impl Send + Duh> {
- | +++++
-
-warning: 1 warning emitted
-