diff options
Diffstat (limited to '')
-rw-r--r-- | tests/ui/traits/issue-85735.stderr | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/ui/traits/issue-85735.stderr b/tests/ui/traits/issue-85735.stderr new file mode 100644 index 000000000..9e80497ca --- /dev/null +++ b/tests/ui/traits/issue-85735.stderr @@ -0,0 +1,18 @@ +error[E0283]: type annotations needed: cannot satisfy `T: FnMut<(&'a (),)>` + --> $DIR/issue-85735.rs:7:8 + | +LL | T: FnMut(&'a ()), + | ^^^^^^^^^^^^^ + | +note: multiple `impl`s or `where` clauses satisfying `T: FnMut<(&'a (),)>` found + --> $DIR/issue-85735.rs:7:8 + | +LL | T: FnMut(&'a ()), + | ^^^^^^^^^^^^^ +LL | +LL | T: FnMut(&'b ()), + | ^^^^^^^^^^^^^ + +error: aborting due to previous error + +For more information about this error, try `rustc --explain E0283`. |