]> git.lizzy.rs Git - rust.git/blob - src/test/ui/traits/issue-85735.stderr
Rollup merge of #88601 - ibraheemdev:termination-result-infallible, r=yaahc
[rust.git] / src / test / ui / traits / issue-85735.stderr
1 error[E0283]: type annotations needed
2   --> $DIR/issue-85735.rs:7:8
3    |
4 LL |     T: FnMut(&'a ()),
5    |        ^^^^^^^^^^^^^ cannot infer type for type parameter `T`
6    |
7    = note: cannot satisfy `T: FnMut<(&'a (),)>`
8 note: required by a bound in `FnMut`
9   --> $SRC_DIR/core/src/ops/function.rs:LL:COL
10    |
11 LL | / pub trait FnMut<Args>: FnOnce<Args> {
12 LL | |     /// Performs the call operation.
13 LL | |     #[unstable(feature = "fn_traits", issue = "29625")]
14 LL | |     extern "rust-call" fn call_mut(&mut self, args: Args) -> Self::Output;
15 LL | | }
16    | |_^ required by this bound in `FnMut`
17
18 error: aborting due to previous error
19
20 For more information about this error, try `rustc --explain E0283`.