2019-10-25 20:30:02 -05:00
|
|
|
error: this file contains an un-closed delimiter
|
2019-10-28 19:44:20 -05:00
|
|
|
--> $DIR/missing-close-brace-in-impl-trait.rs:12:53
|
2019-10-25 20:30:02 -05:00
|
|
|
|
|
|
|
|
LL | impl T for () {
|
|
|
|
| - un-closed delimiter
|
|
|
|
...
|
|
|
|
LL |
|
|
|
|
| ^
|
|
|
|
|
2019-10-28 19:44:20 -05:00
|
|
|
error: expected one of `async`, `const`, `crate`, `default`, `extern`, `fn`, `pub`, `type`, `unsafe`, or `}`, found keyword `trait`
|
|
|
|
--> $DIR/missing-close-brace-in-impl-trait.rs:5:1
|
2019-10-25 20:30:02 -05:00
|
|
|
|
|
|
|
|
LL | impl T for () {
|
|
|
|
| - unclosed delimiter
|
2019-10-28 19:44:20 -05:00
|
|
|
LL |
|
2019-10-25 20:30:02 -05:00
|
|
|
LL | fn foo(&self) {}
|
|
|
|
| -
|
|
|
|
| |
|
2019-10-28 13:08:53 -05:00
|
|
|
| expected one of 10 possible tokens
|
2019-10-25 20:30:02 -05:00
|
|
|
| help: `}` may belong here
|
|
|
|
LL |
|
|
|
|
LL | trait T {
|
|
|
|
| ^^^^^ unexpected token
|
|
|
|
|
|
|
|
error[E0405]: cannot find trait `T` in this scope
|
|
|
|
--> $DIR/missing-close-brace-in-impl-trait.rs:1:6
|
|
|
|
|
|
|
|
|
LL | impl T for () {
|
|
|
|
| ^ not found in this scope
|
|
|
|
|
2019-10-28 19:44:20 -05:00
|
|
|
error: aborting due to 3 previous errors
|
2019-10-25 20:30:02 -05:00
|
|
|
|
2019-10-28 19:44:20 -05:00
|
|
|
For more information about this error, try `rustc --explain E0405`.
|