rust/src/test/ui/parser/mismatched-braces/missing-close-brace-in-trait.stderr

24 lines
621 B
Plaintext
Raw Normal View History

error: this file contains an unclosed delimiter
--> $DIR/missing-close-brace-in-trait.rs:12:65
|
LL | trait T {
| - unclosed delimiter
...
LL | fn main() {}
| ^
2020-02-22 23:04:37 -06:00
error: struct not supported in `trait` or `impl`
--> $DIR/missing-close-brace-in-trait.rs:4:1
|
LL | pub(crate) struct Bar<T>();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
2020-02-22 23:04:37 -06:00
error: implementation not supported in `trait` or `impl`
--> $DIR/missing-close-brace-in-trait.rs:7:1
|
LL | impl T for Bar<usize> {
| ^^^^^^^^^^^^^^^^^^^^^
error: aborting due to 3 previous errors