fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
386 B14 linesraw
1error: trait aliases cannot be `auto`
2  --> $DIR/trait-alias-syntax-fail.rs:4:19
3   |
4LL | auto trait A = Foo;
5   |                   ^ trait aliases cannot be `auto`
6
7error: trait aliases cannot be `unsafe`
8  --> $DIR/trait-alias-syntax-fail.rs:5:21
9   |
10LL | unsafe trait B = Foo;
11   |                     ^ trait aliases cannot be `unsafe`
12
13error: aborting due to 2 previous errors
14