blob: a7dc64708d85615be2746ba6d32916aaa96293b6 (
plain)
1
2
3
4
5
6
7
8
9
|
error[E0128]: generic parameters with a default cannot use forward declared identifiers
--> $DIR/issue-18183.rs:1:20
|
LL | pub struct Foo<Bar=Bar>(Bar);
| ^^^ defaulted generic parameters cannot be forward declared
error: aborting due to previous error
For more information about this error, try `rustc --explain E0128`.
|