blob: 1e0244c2e1d327946539fdb2294ee6869a99471c (
plain)
1
2
3
4
5
6
7
8
9
10
|
error: missing `fn`, `type`, or `const` for trait-item declaration
--> $DIR/issue-21153.rs:1:29
|
LL | trait MyTrait<T>: Iterator { //~ ERROR missing `fn`, `type`, or `const`
| _____________________________^
LL | | Item = T;
| |____^ missing `fn`, `type`, or `const`
error: aborting due to previous error
|