mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-05 13:13:40 +00:00
81 lines
2.4 KiB
Plaintext
81 lines
2.4 KiB
Plaintext
PRINT-BANG INPUT (DISPLAY): struct M($crate :: S) ;
|
|
PRINT-BANG INPUT (DEBUG): TokenStream [
|
|
Ident {
|
|
ident: "struct",
|
|
span: $DIR/dollar-crate-issue-57089.rs:17:13: 17:19 (#4),
|
|
},
|
|
Ident {
|
|
ident: "M",
|
|
span: $DIR/dollar-crate-issue-57089.rs:17:20: 17:21 (#4),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "$crate",
|
|
span: $DIR/dollar-crate-issue-57089.rs:17:22: 17:28 (#4),
|
|
},
|
|
Punct {
|
|
ch: ':',
|
|
spacing: Joint,
|
|
span: $DIR/dollar-crate-issue-57089.rs:17:28: 17:29 (#4),
|
|
},
|
|
Punct {
|
|
ch: ':',
|
|
spacing: Alone,
|
|
span: $DIR/dollar-crate-issue-57089.rs:17:29: 17:30 (#4),
|
|
},
|
|
Ident {
|
|
ident: "S",
|
|
span: $DIR/dollar-crate-issue-57089.rs:17:30: 17:31 (#4),
|
|
},
|
|
],
|
|
span: $DIR/dollar-crate-issue-57089.rs:17:21: 17:32 (#4),
|
|
},
|
|
Punct {
|
|
ch: ';',
|
|
spacing: Alone,
|
|
span: $DIR/dollar-crate-issue-57089.rs:17:32: 17:33 (#4),
|
|
},
|
|
]
|
|
PRINT-ATTR INPUT (DISPLAY): struct A($crate :: S) ;
|
|
PRINT-ATTR INPUT (DEBUG): TokenStream [
|
|
Ident {
|
|
ident: "struct",
|
|
span: $DIR/dollar-crate-issue-57089.rs:21:9: 21:15 (#4),
|
|
},
|
|
Ident {
|
|
ident: "A",
|
|
span: $DIR/dollar-crate-issue-57089.rs:21:16: 21:17 (#4),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "$crate",
|
|
span: $DIR/dollar-crate-issue-57089.rs:21:18: 21:24 (#4),
|
|
},
|
|
Punct {
|
|
ch: ':',
|
|
spacing: Joint,
|
|
span: $DIR/dollar-crate-issue-57089.rs:21:24: 21:25 (#4),
|
|
},
|
|
Punct {
|
|
ch: ':',
|
|
spacing: Alone,
|
|
span: $DIR/dollar-crate-issue-57089.rs:21:25: 21:26 (#4),
|
|
},
|
|
Ident {
|
|
ident: "S",
|
|
span: $DIR/dollar-crate-issue-57089.rs:21:26: 21:27 (#4),
|
|
},
|
|
],
|
|
span: $DIR/dollar-crate-issue-57089.rs:21:17: 21:28 (#4),
|
|
},
|
|
Punct {
|
|
ch: ';',
|
|
spacing: Alone,
|
|
span: $DIR/dollar-crate-issue-57089.rs:21:28: 21:29 (#4),
|
|
},
|
|
]
|