]> git.lizzy.rs Git - rust.git/blob - src/test/ui/type-alias-impl-trait/generic_duplicate_param_use4.min_tait.stderr
Auto merge of #82347 - the8472:parallelize-tidy, r=Mark-Simulacrum
[rust.git] / src / test / ui / type-alias-impl-trait / generic_duplicate_param_use4.min_tait.stderr
1 error: non-defining opaque type use in defining scope
2   --> $DIR/generic_duplicate_param_use4.rs:13:27
3    |
4 LL | fn one<T: Debug>(t: T) -> Two<T, T> {
5    |                           ^^^^^^^^^
6    |
7 note: type used multiple times
8   --> $DIR/generic_duplicate_param_use4.rs:11:10
9    |
10 LL | type Two<T, U> = impl Debug;
11    |          ^  ^
12
13 error: aborting due to previous error
14