63a9030e7b
An exception is `fn` params.
11 lines
287 B
Plaintext
11 lines
287 B
Plaintext
error: missing `fn`, `type`, or `const` for associated-item declaration
|
|
--> $DIR/issue-21153.rs:1:29
|
|
|
|
|
LL | trait MyTrait<T>: Iterator {
|
|
| _____________________________^
|
|
LL | | Item = T;
|
|
| |____^ missing `fn`, `type`, or `const`
|
|
|
|
error: aborting due to previous error
|
|
|