2020-01-03 07:40:15 -06:00
|
|
|
error: this file contains an unclosed delimiter
|
2020-01-31 23:18:10 -06:00
|
|
|
--> $DIR/missing-close-brace-in-impl-trait.rs:14:52
|
2019-10-25 20:30:02 -05:00
|
|
|
|
|
|
|
|
LL | impl T for () {
|
2020-01-03 07:40:15 -06:00
|
|
|
| - unclosed delimiter
|
2019-10-25 20:30:02 -05:00
|
|
|
...
|
|
|
|
LL |
|
2020-01-03 07:40:15 -06:00
|
|
|
| ^
|
2019-10-25 20:30:02 -05:00
|
|
|
|
2020-02-15 10:35:29 -06:00
|
|
|
error: missing `fn`, `type`, `const`, or `static` for item declaration
|
2020-01-31 23:18:10 -06:00
|
|
|
--> $DIR/missing-close-brace-in-impl-trait.rs:5:17
|
2019-10-25 20:30:02 -05:00
|
|
|
|
|
2020-01-31 23:18:10 -06:00
|
|
|
LL | fn foo(&self) {}
|
|
|
|
| _________________^
|
|
|
|
LL | |
|
|
|
|
LL | |
|
|
|
|
LL | | trait T {
|
2020-02-15 10:35:29 -06:00
|
|
|
| |_ missing `fn`, `type`, `const`, or `static`
|
2019-10-25 20:30:02 -05:00
|
|
|
|
|
|
|
error[E0405]: cannot find trait `T` in this scope
|
2020-01-31 23:18:10 -06:00
|
|
|
--> $DIR/missing-close-brace-in-impl-trait.rs:3:6
|
2019-10-25 20:30:02 -05:00
|
|
|
|
|
|
|
|
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`.
|