2020-01-03 07:40:15 -06:00
|
|
|
error: this file contains an unclosed delimiter
|
|
|
|
--> $DIR/missing-close-brace-in-trait.rs:12:65
|
2019-10-25 20:30:02 -05:00
|
|
|
|
|
|
|
|
LL | trait T {
|
2020-01-03 07:40:15 -06:00
|
|
|
| - unclosed delimiter
|
2019-10-25 20:30:02 -05:00
|
|
|
...
|
|
|
|
LL | fn main() {}
|
2020-01-03 07:40:15 -06:00
|
|
|
| ^
|
2019-10-25 20:30:02 -05:00
|
|
|
|
2020-02-23 05:54:00 -06:00
|
|
|
error: struct is not supported in `trait`s or `impl`s
|
2020-02-22 01:16:39 -06:00
|
|
|
--> $DIR/missing-close-brace-in-trait.rs:4:1
|
2019-10-25 20:30:02 -05:00
|
|
|
|
|
|
|
|
LL | pub(crate) struct Bar<T>();
|
2020-02-22 01:16:39 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2020-03-26 08:13:50 -05:00
|
|
|
|
|
|
|
|
= help: consider moving the struct out to a nearby module scope
|
2019-11-07 04:26:36 -06:00
|
|
|
|
2020-02-23 05:54:00 -06:00
|
|
|
error: implementation is not supported in `trait`s or `impl`s
|
2020-02-22 01:16:39 -06:00
|
|
|
--> $DIR/missing-close-brace-in-trait.rs:7:1
|
2019-11-07 04:26:36 -06:00
|
|
|
|
|
2020-02-22 01:16:39 -06:00
|
|
|
LL | impl T for Bar<usize> {
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
2020-03-26 08:13:50 -05:00
|
|
|
|
|
|
|
|
= help: consider moving the implementation out to a nearby module scope
|
2019-10-25 20:30:02 -05:00
|
|
|
|
2019-11-07 04:26:36 -06:00
|
|
|
error: aborting due to 3 previous errors
|
2019-10-25 20:30:02 -05:00
|
|
|
|