15 lines
376 B
Plaintext
15 lines
376 B
Plaintext
error: trait aliases cannot be `auto`
|
|
--> $DIR/trait-alias-syntax.rs:4:19
|
|
|
|
|
LL | auto trait A = Foo;
|
|
| ^ trait aliases cannot be `auto`
|
|
|
|
error: trait aliases cannot be `unsafe`
|
|
--> $DIR/trait-alias-syntax.rs:5:21
|
|
|
|
|
LL | unsafe trait B = Foo;
|
|
| ^ trait aliases cannot be `unsafe`
|
|
|
|
error: aborting due to 2 previous errors
|
|
|