]> git.proxmox.com Git - rustc.git/blob - src/test/ui/type-alias-impl-trait/generic_duplicate_lifetime_param.stderr
New upstream version 1.51.0+dfsg1
[rustc.git] / src / test / ui / type-alias-impl-trait / generic_duplicate_lifetime_param.stderr
1 error: non-defining opaque type use in defining scope
2 --> $DIR/generic_duplicate_lifetime_param.rs:7:26
3 |
4 LL | fn one<'a>(t: &'a ()) -> Two<'a, 'a> {
5 | ^^^^^^^^^^^
6 |
7 note: lifetime used multiple times
8 --> $DIR/generic_duplicate_lifetime_param.rs:5:10
9 |
10 LL | type Two<'a, 'b> = impl std::fmt::Debug;
11 | ^^ ^^
12
13 error: aborting due to previous error
14