2018-12-09 08:46:12 -06:00
|
|
|
PROC MACRO INPUT (PRETTY-PRINTED): struct M ( $crate :: S ) ;
|
|
|
|
PROC MACRO INPUT: TokenStream [
|
|
|
|
Ident {
|
|
|
|
ident: "struct",
|
2019-04-03 09:30:08 -05:00
|
|
|
span: #2 bytes(LO..HI),
|
2018-12-09 08:46:12 -06:00
|
|
|
},
|
|
|
|
Ident {
|
|
|
|
ident: "M",
|
2019-04-03 09:30:08 -05:00
|
|
|
span: #2 bytes(LO..HI),
|
2018-12-09 08:46:12 -06:00
|
|
|
},
|
|
|
|
Group {
|
|
|
|
delimiter: Parenthesis,
|
|
|
|
stream: TokenStream [
|
|
|
|
Ident {
|
|
|
|
ident: "$crate",
|
2019-04-03 09:30:08 -05:00
|
|
|
span: #2 bytes(LO..HI),
|
2018-12-09 08:46:12 -06:00
|
|
|
},
|
|
|
|
Punct {
|
|
|
|
ch: ':',
|
|
|
|
spacing: Joint,
|
2019-04-03 09:30:08 -05:00
|
|
|
span: #2 bytes(LO..HI),
|
2018-12-09 08:46:12 -06:00
|
|
|
},
|
|
|
|
Punct {
|
|
|
|
ch: ':',
|
|
|
|
spacing: Alone,
|
2019-04-03 09:30:08 -05:00
|
|
|
span: #2 bytes(LO..HI),
|
2018-12-09 08:46:12 -06:00
|
|
|
},
|
|
|
|
Ident {
|
|
|
|
ident: "S",
|
2019-04-03 09:30:08 -05:00
|
|
|
span: #2 bytes(LO..HI),
|
|
|
|
},
|
2018-12-09 08:46:12 -06:00
|
|
|
],
|
2019-04-03 09:30:08 -05:00
|
|
|
span: #2 bytes(LO..HI),
|
2018-12-09 08:46:12 -06:00
|
|
|
},
|
|
|
|
Punct {
|
|
|
|
ch: ';',
|
|
|
|
spacing: Alone,
|
2019-04-03 09:30:08 -05:00
|
|
|
span: #2 bytes(LO..HI),
|
|
|
|
},
|
2018-12-09 08:46:12 -06:00
|
|
|
]
|
|
|
|
ATTRIBUTE INPUT (PRETTY-PRINTED): struct A(crate::S);
|
|
|
|
ATTRIBUTE INPUT: TokenStream [
|
|
|
|
Ident {
|
|
|
|
ident: "struct",
|
2019-04-03 09:30:08 -05:00
|
|
|
span: #2 bytes(LO..HI),
|
2018-12-09 08:46:12 -06:00
|
|
|
},
|
|
|
|
Ident {
|
|
|
|
ident: "A",
|
2019-04-03 09:30:08 -05:00
|
|
|
span: #2 bytes(LO..HI),
|
2018-12-09 08:46:12 -06:00
|
|
|
},
|
|
|
|
Group {
|
|
|
|
delimiter: Parenthesis,
|
|
|
|
stream: TokenStream [
|
|
|
|
Ident {
|
2018-12-10 17:26:31 -06:00
|
|
|
ident: "$crate",
|
2019-04-03 09:30:08 -05:00
|
|
|
span: #2 bytes(LO..HI),
|
2018-12-09 08:46:12 -06:00
|
|
|
},
|
|
|
|
Punct {
|
|
|
|
ch: ':',
|
|
|
|
spacing: Joint,
|
2019-04-03 09:30:08 -05:00
|
|
|
span: #2 bytes(LO..HI),
|
2018-12-09 08:46:12 -06:00
|
|
|
},
|
|
|
|
Punct {
|
|
|
|
ch: ':',
|
|
|
|
spacing: Alone,
|
2019-04-03 09:30:08 -05:00
|
|
|
span: #2 bytes(LO..HI),
|
2018-12-09 08:46:12 -06:00
|
|
|
},
|
|
|
|
Ident {
|
|
|
|
ident: "S",
|
2019-04-03 09:30:08 -05:00
|
|
|
span: #2 bytes(LO..HI),
|
|
|
|
},
|
2018-12-09 08:46:12 -06:00
|
|
|
],
|
2019-04-03 09:30:08 -05:00
|
|
|
span: #2 bytes(LO..HI),
|
2018-12-09 08:46:12 -06:00
|
|
|
},
|
|
|
|
Punct {
|
|
|
|
ch: ';',
|
|
|
|
spacing: Alone,
|
2019-04-03 09:30:08 -05:00
|
|
|
span: #2 bytes(LO..HI),
|
|
|
|
},
|
2018-12-09 08:46:12 -06:00
|
|
|
]
|
|
|
|
DERIVE INPUT (PRETTY-PRINTED): struct D(crate::S);
|
|
|
|
DERIVE INPUT: TokenStream [
|
|
|
|
Ident {
|
|
|
|
ident: "struct",
|
2019-04-03 09:30:08 -05:00
|
|
|
span: #2 bytes(LO..HI),
|
2018-12-09 08:46:12 -06:00
|
|
|
},
|
|
|
|
Ident {
|
|
|
|
ident: "D",
|
2019-04-03 09:30:08 -05:00
|
|
|
span: #2 bytes(LO..HI),
|
2018-12-09 08:46:12 -06:00
|
|
|
},
|
|
|
|
Group {
|
|
|
|
delimiter: Parenthesis,
|
|
|
|
stream: TokenStream [
|
|
|
|
Ident {
|
2018-12-10 17:26:31 -06:00
|
|
|
ident: "$crate",
|
2019-04-03 09:30:08 -05:00
|
|
|
span: #2 bytes(LO..HI),
|
2018-12-09 08:46:12 -06:00
|
|
|
},
|
|
|
|
Punct {
|
|
|
|
ch: ':',
|
|
|
|
spacing: Joint,
|
2019-04-03 09:30:08 -05:00
|
|
|
span: #2 bytes(LO..HI),
|
2018-12-09 08:46:12 -06:00
|
|
|
},
|
|
|
|
Punct {
|
|
|
|
ch: ':',
|
|
|
|
spacing: Alone,
|
2019-04-03 09:30:08 -05:00
|
|
|
span: #2 bytes(LO..HI),
|
2018-12-09 08:46:12 -06:00
|
|
|
},
|
|
|
|
Ident {
|
|
|
|
ident: "S",
|
2019-04-03 09:30:08 -05:00
|
|
|
span: #2 bytes(LO..HI),
|
|
|
|
},
|
2018-12-09 08:46:12 -06:00
|
|
|
],
|
2019-04-03 09:30:08 -05:00
|
|
|
span: #2 bytes(LO..HI),
|
2018-12-09 08:46:12 -06:00
|
|
|
},
|
|
|
|
Punct {
|
|
|
|
ch: ';',
|
|
|
|
spacing: Alone,
|
2019-04-03 09:30:08 -05:00
|
|
|
span: #2 bytes(LO..HI),
|
|
|
|
},
|
2018-12-09 08:46:12 -06:00
|
|
|
]
|
|
|
|
PROC MACRO INPUT (PRETTY-PRINTED): struct M ( $crate :: S ) ;
|
|
|
|
PROC MACRO INPUT: TokenStream [
|
|
|
|
Ident {
|
|
|
|
ident: "struct",
|
2019-04-03 09:30:08 -05:00
|
|
|
span: #10 bytes(LO..HI),
|
2018-12-09 08:46:12 -06:00
|
|
|
},
|
|
|
|
Ident {
|
|
|
|
ident: "M",
|
2019-04-03 09:30:08 -05:00
|
|
|
span: #10 bytes(LO..HI),
|
2018-12-09 08:46:12 -06:00
|
|
|
},
|
|
|
|
Group {
|
|
|
|
delimiter: Parenthesis,
|
|
|
|
stream: TokenStream [
|
|
|
|
Ident {
|
|
|
|
ident: "$crate",
|
2019-04-03 09:30:08 -05:00
|
|
|
span: #10 bytes(LO..HI),
|
2018-12-09 08:46:12 -06:00
|
|
|
},
|
|
|
|
Punct {
|
|
|
|
ch: ':',
|
|
|
|
spacing: Joint,
|
2019-04-03 09:30:08 -05:00
|
|
|
span: #10 bytes(LO..HI),
|
2018-12-09 08:46:12 -06:00
|
|
|
},
|
|
|
|
Punct {
|
|
|
|
ch: ':',
|
|
|
|
spacing: Alone,
|
2019-04-03 09:30:08 -05:00
|
|
|
span: #10 bytes(LO..HI),
|
2018-12-09 08:46:12 -06:00
|
|
|
},
|
|
|
|
Ident {
|
|
|
|
ident: "S",
|
2019-04-03 09:30:08 -05:00
|
|
|
span: #10 bytes(LO..HI),
|
|
|
|
},
|
2018-12-09 08:46:12 -06:00
|
|
|
],
|
2019-04-03 09:30:08 -05:00
|
|
|
span: #10 bytes(LO..HI),
|
2018-12-09 08:46:12 -06:00
|
|
|
},
|
|
|
|
Punct {
|
|
|
|
ch: ';',
|
|
|
|
spacing: Alone,
|
2019-04-03 09:30:08 -05:00
|
|
|
span: #10 bytes(LO..HI),
|
|
|
|
},
|
2018-12-09 08:46:12 -06:00
|
|
|
]
|
|
|
|
ATTRIBUTE INPUT (PRETTY-PRINTED): struct A(::dollar_crate_external::S);
|
|
|
|
ATTRIBUTE INPUT: TokenStream [
|
|
|
|
Ident {
|
|
|
|
ident: "struct",
|
2019-04-03 09:30:08 -05:00
|
|
|
span: #10 bytes(LO..HI),
|
2018-12-09 08:46:12 -06:00
|
|
|
},
|
|
|
|
Ident {
|
|
|
|
ident: "A",
|
2019-04-03 09:30:08 -05:00
|
|
|
span: #10 bytes(LO..HI),
|
2018-12-09 08:46:12 -06:00
|
|
|
},
|
|
|
|
Group {
|
|
|
|
delimiter: Parenthesis,
|
|
|
|
stream: TokenStream [
|
|
|
|
Ident {
|
2018-12-10 17:26:31 -06:00
|
|
|
ident: "$crate",
|
2019-04-03 09:30:08 -05:00
|
|
|
span: #10 bytes(LO..HI),
|
2018-12-09 08:46:12 -06:00
|
|
|
},
|
|
|
|
Punct {
|
|
|
|
ch: ':',
|
|
|
|
spacing: Joint,
|
2019-04-03 09:30:08 -05:00
|
|
|
span: #10 bytes(LO..HI),
|
2018-12-09 08:46:12 -06:00
|
|
|
},
|
|
|
|
Punct {
|
|
|
|
ch: ':',
|
|
|
|
spacing: Alone,
|
2019-04-03 09:30:08 -05:00
|
|
|
span: #10 bytes(LO..HI),
|
2018-12-09 08:46:12 -06:00
|
|
|
},
|
|
|
|
Ident {
|
|
|
|
ident: "S",
|
2019-04-03 09:30:08 -05:00
|
|
|
span: #10 bytes(LO..HI),
|
|
|
|
},
|
2018-12-09 08:46:12 -06:00
|
|
|
],
|
2019-04-03 09:30:08 -05:00
|
|
|
span: #10 bytes(LO..HI),
|
2018-12-09 08:46:12 -06:00
|
|
|
},
|
|
|
|
Punct {
|
|
|
|
ch: ';',
|
|
|
|
spacing: Alone,
|
2019-04-03 09:30:08 -05:00
|
|
|
span: #10 bytes(LO..HI),
|
|
|
|
},
|
2018-12-09 08:46:12 -06:00
|
|
|
]
|
|
|
|
DERIVE INPUT (PRETTY-PRINTED): struct D(::dollar_crate_external::S);
|
|
|
|
DERIVE INPUT: TokenStream [
|
|
|
|
Ident {
|
|
|
|
ident: "struct",
|
2019-04-03 09:30:08 -05:00
|
|
|
span: #10 bytes(LO..HI),
|
2018-12-09 08:46:12 -06:00
|
|
|
},
|
|
|
|
Ident {
|
|
|
|
ident: "D",
|
2019-04-03 09:30:08 -05:00
|
|
|
span: #10 bytes(LO..HI),
|
2018-12-09 08:46:12 -06:00
|
|
|
},
|
|
|
|
Group {
|
|
|
|
delimiter: Parenthesis,
|
|
|
|
stream: TokenStream [
|
|
|
|
Ident {
|
2018-12-10 17:26:31 -06:00
|
|
|
ident: "$crate",
|
2019-04-03 09:30:08 -05:00
|
|
|
span: #10 bytes(LO..HI),
|
2018-12-09 08:46:12 -06:00
|
|
|
},
|
|
|
|
Punct {
|
|
|
|
ch: ':',
|
|
|
|
spacing: Joint,
|
2019-04-03 09:30:08 -05:00
|
|
|
span: #10 bytes(LO..HI),
|
2018-12-09 08:46:12 -06:00
|
|
|
},
|
|
|
|
Punct {
|
|
|
|
ch: ':',
|
|
|
|
spacing: Alone,
|
2019-04-03 09:30:08 -05:00
|
|
|
span: #10 bytes(LO..HI),
|
2018-12-09 08:46:12 -06:00
|
|
|
},
|
|
|
|
Ident {
|
|
|
|
ident: "S",
|
2019-04-03 09:30:08 -05:00
|
|
|
span: #10 bytes(LO..HI),
|
|
|
|
},
|
2018-12-09 08:46:12 -06:00
|
|
|
],
|
2019-04-03 09:30:08 -05:00
|
|
|
span: #10 bytes(LO..HI),
|
2018-12-09 08:46:12 -06:00
|
|
|
},
|
|
|
|
Punct {
|
|
|
|
ch: ';',
|
|
|
|
spacing: Alone,
|
2019-04-03 09:30:08 -05:00
|
|
|
span: #10 bytes(LO..HI),
|
|
|
|
},
|
2018-12-09 08:46:12 -06:00
|
|
|
]
|