mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 15:54:15 +00:00
9 lines
218 B
Rust
9 lines
218 B
Rust
|
// edition:2018
|
||
|
|
||
|
type A0 = dyn;
|
||
|
type A1 = dyn::dyn; //~ERROR expected identifier, found reserved keyword
|
||
|
type A2 = dyn<dyn, dyn>; //~ERROR expected identifier, found `<`
|
||
|
type A3 = dyn<<dyn as dyn>::dyn>;
|
||
|
|
||
|
fn main() {}
|