rust/src/test/ui/parser/issue-21153.stderr
Vadim Petrochenkov fa72a81bea Update tests
2019-03-11 23:10:26 +03:00

11 lines
282 B
Plaintext

error: missing `fn`, `type`, or `const` for trait-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