2019-02-11 19:50:45 -06:00
|
|
|
error: trait aliases cannot be `auto`
|
2019-03-30 17:06:09 -05:00
|
|
|
--> $DIR/trait-alias-syntax-fail.rs:4:19
|
2019-02-11 19:50:45 -06:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | auto trait A = Foo;
|
2019-02-11 19:50:45 -06:00
|
|
|
| ^ trait aliases cannot be `auto`
|
|
|
|
|
|
|
|
error: trait aliases cannot be `unsafe`
|
2019-03-30 17:06:09 -05:00
|
|
|
--> $DIR/trait-alias-syntax-fail.rs:5:21
|
2019-02-11 19:50:45 -06:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | unsafe trait B = Foo;
|
2019-02-11 19:50:45 -06:00
|
|
|
| ^ trait aliases cannot be `unsafe`
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|