]> git.proxmox.com Git - rustc.git/blame - src/test/ui/issues/issue-60283.stderr
New upstream version 1.46.0~beta.2+dfsg1
[rustc.git] / src / test / ui / issues / issue-60283.stderr
CommitLineData
532ac7d7 1error[E0631]: type mismatch in function arguments
f035d41b 2 --> $DIR/issue-60283.rs:17:13
532ac7d7 3 |
e1599b0c 4LL | pub fn foo<T, F>(_: T, _: F)
ba9703b0 5 | --- required by a bound in this
f035d41b
XL
6...
7LL | F: for<'a> FnMut(<T as Trait<'a>>::Item),
8 | ----------------------------- required by this bound in `foo`
e1599b0c 9...
532ac7d7 10LL | foo((), drop)
e1599b0c
XL
11 | ^^^^
12 | |
f035d41b
XL
13 | expected signature of `fn(<() as Trait<'a>>::Item) -> _`
14 | found signature of `fn(()) -> _`
532ac7d7 15
f035d41b 16error: aborting due to previous error
532ac7d7 17
f035d41b 18For more information about this error, try `rustc --explain E0631`.