]> git.lizzy.rs Git - rust.git/blob - src/test/ui/typeck/issue-84768.stderr
Rollup merge of #94577 - RalfJung:simd-miri, r=scottmcm
[rust.git] / src / test / ui / typeck / issue-84768.stderr
1 error[E0229]: associated type bindings are not allowed here
2   --> $DIR/issue-84768.rs:7:11
3    |
4 LL |     <F as FnOnce(&mut u8)>::call_once(f, 1)
5    |           ^^^^^^^^^^^^^^^ associated type not allowed here
6
7 error[E0308]: mismatched types
8   --> $DIR/issue-84768.rs:7:42
9    |
10 LL |     <F as FnOnce(&mut u8)>::call_once(f, 1)
11    |                                          ^ expected tuple, found integer
12    |
13    = note: expected tuple `(&mut u8,)`
14                found type `{integer}`
15
16 error: aborting due to 2 previous errors
17
18 Some errors have detailed explanations: E0229, E0308.
19 For more information about an error, try `rustc --explain E0229`.