1 error[E0229]: associated type bindings are not allowed here
2 --> $DIR/issue-84768.rs:7:11
4 LL | <F as FnOnce(&mut u8)>::call_once(f, 1)
5 | ^^^^^^^^^^^^^^^ associated type not allowed here
7 error[E0308]: mismatched types
8 --> $DIR/issue-84768.rs:7:42
10 LL | <F as FnOnce(&mut u8)>::call_once(f, 1)
11 | --------------------------------- ^ expected tuple, found integer
13 | arguments to this function are incorrect
15 = note: expected tuple `(&mut u8,)`
16 found type `{integer}`
17 help: the return type of this call is `{integer}` due to the type of the argument passed
18 --> $DIR/issue-84768.rs:7:5
20 LL | <F as FnOnce(&mut u8)>::call_once(f, 1)
21 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-^
23 | this argument influences the return type of `FnOnce`
24 note: associated function defined here
25 --> $SRC_DIR/core/src/ops/function.rs:LL:COL
27 error: aborting due to 2 previous errors
29 Some errors have detailed explanations: E0229, E0308.
30 For more information about an error, try `rustc --explain E0229`.