fork/rust

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

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
509 B19 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
6   |
7help: you can escape reserved keywords to use them as identifiers
8   |
9LL | type A1 = dyn::r#dyn;
10   |                ^^^^^
11
12error: expected identifier, found `<`
13  --> $DIR/dyn-trait-compatibility.rs:5:14
14   |
15LL | type A2 = dyn<dyn, dyn>;
16   |              ^ expected identifier
17
18error: aborting due to 2 previous errors
19