]> git.proxmox.com Git - rustc.git/blob - src/test/ui/generic-associated-types/issue-80433.stderr
New upstream version 1.54.0+dfsg1
[rustc.git] / src / test / ui / generic-associated-types / issue-80433.stderr
1 error[E0107]: missing generics for associated type `TestMut::Output`
2 --> $DIR/issue-80433.rs:24:47
3 |
4 LL | fn test_simpler<'a>(dst: &'a mut impl TestMut<Output = &'a mut f32>)
5 | ^^^^^^ expected 1 lifetime argument
6 |
7 note: associated type defined here, with 1 lifetime parameter: `'a`
8 --> $DIR/issue-80433.rs:10:10
9 |
10 LL | type Output<'a>;
11 | ^^^^^^ --
12 help: add missing lifetime argument
13 |
14 LL | fn test_simpler<'a>(dst: &'a mut impl TestMut<Output<'a> = &'a mut f32>)
15 | ^^^^^^^^^^
16
17 error: aborting due to previous error
18
19 For more information about this error, try `rustc --explain E0107`.