summary refs log tree commit diff
path: root/src/test/ui/traits/trait-alias-syntax.stderr
blob: f99cc45d8ae94a3e5d75f1d6085e1a94869b3576 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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