fork/rust

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

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

1.39.0
504 B18 linesraw
1error: expected identifier, found keyword `dyn`
2  --> $DIR/dyn-trait-compatibility.rs:4:16
3   |
4LL | type A1 = dyn::dyn;
5   |                ^^^ expected identifier, found keyword
6help: you can escape reserved keywords to use them as identifiers
7   |
8LL | type A1 = dyn::r#dyn;
9   |                ^^^^^
10
11error: expected identifier, found `<`
12  --> $DIR/dyn-trait-compatibility.rs:5:14
13   |
14LL | type A2 = dyn<dyn, dyn>;
15   |              ^ expected identifier
16
17error: aborting due to 2 previous errors
18