mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
129fe9a998
Explaining something in the output that surprised me.
1905 lines
98 KiB
Plaintext
1905 lines
98 KiB
Plaintext
PRINT-ATTR INPUT (DISPLAY): #[print_helper(a)] #[allow(dead_code)] #[derive(Print)] #[print_helper(b)]
|
|
struct Foo < #[cfg(FALSE)] A, B >
|
|
{
|
|
#[cfg(FALSE)] first : String, #[cfg_attr(FALSE, deny(warnings))] second :
|
|
bool, third :
|
|
[u8 ;
|
|
{
|
|
#[cfg(FALSE)] struct Bar ; #[cfg(not(FALSE))] struct Inner ;
|
|
#[cfg(FALSE)] let a = 25 ; match true
|
|
{
|
|
#[cfg(FALSE)] true => {}, #[cfg_attr(not(FALSE), allow(warnings))]
|
|
false => {}, _ => {}
|
|
} ; #[print_helper(should_be_removed)] fn removed_fn()
|
|
{ #! [cfg(FALSE)] } #[print_helper(c)] #[cfg(not(FALSE))] fn kept_fn()
|
|
{ #! [cfg(not(FALSE))] let my_val = true ; } enum TupleEnum
|
|
{
|
|
Foo(#[cfg(FALSE)] u8, #[cfg(FALSE)] bool, #[cfg(not(FALSE))] i32,
|
|
#[cfg(FALSE)] String, u8)
|
|
} struct
|
|
TupleStruct(#[cfg(FALSE)] String, #[cfg(not(FALSE))] i32,
|
|
#[cfg(FALSE)] bool, u8) ; fn plain_removed_fn()
|
|
{ #! [cfg_attr(not(FALSE), cfg(FALSE))] } 0
|
|
}], #[print_helper(d)] fourth : B
|
|
}
|
|
PRINT-ATTR INPUT (DEBUG): TokenStream [
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:49:1: 49:2 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "print_helper",
|
|
span: $DIR/issue-75930-derive-cfg.rs:49:3: 49:15 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "a",
|
|
span: $DIR/issue-75930-derive-cfg.rs:49:16: 49:17 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:49:15: 49:18 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:49:2: 49:19 (#0),
|
|
},
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:51:1: 51:2 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "allow",
|
|
span: $DIR/issue-75930-derive-cfg.rs:51:24: 51:29 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "dead_code",
|
|
span: $DIR/issue-75930-derive-cfg.rs:51:30: 51:39 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:51:29: 51:40 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:51:1: 51:2 (#0),
|
|
},
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:53:1: 53:2 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "derive",
|
|
span: $DIR/issue-75930-derive-cfg.rs:53:3: 53:9 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "Print",
|
|
span: $DIR/issue-75930-derive-cfg.rs:53:10: 53:15 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:53:9: 53:16 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:53:2: 53:17 (#0),
|
|
},
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:54:1: 54:2 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "print_helper",
|
|
span: $DIR/issue-75930-derive-cfg.rs:54:3: 54:15 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "b",
|
|
span: $DIR/issue-75930-derive-cfg.rs:54:16: 54:17 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:54:15: 54:18 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:54:2: 54:19 (#0),
|
|
},
|
|
Ident {
|
|
ident: "struct",
|
|
span: $DIR/issue-75930-derive-cfg.rs:55:1: 55:7 (#0),
|
|
},
|
|
Ident {
|
|
ident: "Foo",
|
|
span: $DIR/issue-75930-derive-cfg.rs:55:8: 55:11 (#0),
|
|
},
|
|
Punct {
|
|
ch: '<',
|
|
spacing: Joint,
|
|
span: $DIR/issue-75930-derive-cfg.rs:55:11: 55:12 (#0),
|
|
},
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:55:12: 55:13 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "cfg",
|
|
span: $DIR/issue-75930-derive-cfg.rs:55:14: 55:17 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "FALSE",
|
|
span: $DIR/issue-75930-derive-cfg.rs:55:18: 55:23 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:55:17: 55:24 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:55:13: 55:25 (#0),
|
|
},
|
|
Ident {
|
|
ident: "A",
|
|
span: $DIR/issue-75930-derive-cfg.rs:55:26: 55:27 (#0),
|
|
},
|
|
Punct {
|
|
ch: ',',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:55:27: 55:28 (#0),
|
|
},
|
|
Ident {
|
|
ident: "B",
|
|
span: $DIR/issue-75930-derive-cfg.rs:55:29: 55:30 (#0),
|
|
},
|
|
Punct {
|
|
ch: '>',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:55:30: 55:31 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Brace,
|
|
stream: TokenStream [
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:56:5: 56:6 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "cfg",
|
|
span: $DIR/issue-75930-derive-cfg.rs:56:7: 56:10 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "FALSE",
|
|
span: $DIR/issue-75930-derive-cfg.rs:56:11: 56:16 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:56:10: 56:17 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:56:6: 56:18 (#0),
|
|
},
|
|
Ident {
|
|
ident: "first",
|
|
span: $DIR/issue-75930-derive-cfg.rs:56:19: 56:24 (#0),
|
|
},
|
|
Punct {
|
|
ch: ':',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:56:24: 56:25 (#0),
|
|
},
|
|
Ident {
|
|
ident: "String",
|
|
span: $DIR/issue-75930-derive-cfg.rs:56:26: 56:32 (#0),
|
|
},
|
|
Punct {
|
|
ch: ',',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:56:32: 56:33 (#0),
|
|
},
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:57:5: 57:6 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "cfg_attr",
|
|
span: $DIR/issue-75930-derive-cfg.rs:57:7: 57:15 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "FALSE",
|
|
span: $DIR/issue-75930-derive-cfg.rs:57:16: 57:21 (#0),
|
|
},
|
|
Punct {
|
|
ch: ',',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:57:21: 57:22 (#0),
|
|
},
|
|
Ident {
|
|
ident: "deny",
|
|
span: $DIR/issue-75930-derive-cfg.rs:57:23: 57:27 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "warnings",
|
|
span: $DIR/issue-75930-derive-cfg.rs:57:28: 57:36 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:57:27: 57:37 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:57:15: 57:38 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:57:6: 57:39 (#0),
|
|
},
|
|
Ident {
|
|
ident: "second",
|
|
span: $DIR/issue-75930-derive-cfg.rs:57:40: 57:46 (#0),
|
|
},
|
|
Punct {
|
|
ch: ':',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:57:46: 57:47 (#0),
|
|
},
|
|
Ident {
|
|
ident: "bool",
|
|
span: $DIR/issue-75930-derive-cfg.rs:57:48: 57:52 (#0),
|
|
},
|
|
Punct {
|
|
ch: ',',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:57:52: 57:53 (#0),
|
|
},
|
|
Ident {
|
|
ident: "third",
|
|
span: $DIR/issue-75930-derive-cfg.rs:58:5: 58:10 (#0),
|
|
},
|
|
Punct {
|
|
ch: ':',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:58:10: 58:11 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "u8",
|
|
span: $DIR/issue-75930-derive-cfg.rs:58:13: 58:15 (#0),
|
|
},
|
|
Punct {
|
|
ch: ';',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:58:15: 58:16 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Brace,
|
|
stream: TokenStream [
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:59:9: 59:10 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "cfg",
|
|
span: $DIR/issue-75930-derive-cfg.rs:59:11: 59:14 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "FALSE",
|
|
span: $DIR/issue-75930-derive-cfg.rs:59:15: 59:20 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:59:14: 59:21 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:59:10: 59:22 (#0),
|
|
},
|
|
Ident {
|
|
ident: "struct",
|
|
span: $DIR/issue-75930-derive-cfg.rs:59:23: 59:29 (#0),
|
|
},
|
|
Ident {
|
|
ident: "Bar",
|
|
span: $DIR/issue-75930-derive-cfg.rs:59:30: 59:33 (#0),
|
|
},
|
|
Punct {
|
|
ch: ';',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:59:33: 59:34 (#0),
|
|
},
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:60:9: 60:10 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "cfg",
|
|
span: $DIR/issue-75930-derive-cfg.rs:60:11: 60:14 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "not",
|
|
span: $DIR/issue-75930-derive-cfg.rs:60:15: 60:18 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "FALSE",
|
|
span: $DIR/issue-75930-derive-cfg.rs:60:19: 60:24 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:60:18: 60:25 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:60:14: 60:26 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:60:10: 60:27 (#0),
|
|
},
|
|
Ident {
|
|
ident: "struct",
|
|
span: $DIR/issue-75930-derive-cfg.rs:60:28: 60:34 (#0),
|
|
},
|
|
Ident {
|
|
ident: "Inner",
|
|
span: $DIR/issue-75930-derive-cfg.rs:60:35: 60:40 (#0),
|
|
},
|
|
Punct {
|
|
ch: ';',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:60:40: 60:41 (#0),
|
|
},
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:61:9: 61:10 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "cfg",
|
|
span: $DIR/issue-75930-derive-cfg.rs:61:11: 61:14 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "FALSE",
|
|
span: $DIR/issue-75930-derive-cfg.rs:61:15: 61:20 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:61:14: 61:21 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:61:10: 61:22 (#0),
|
|
},
|
|
Ident {
|
|
ident: "let",
|
|
span: $DIR/issue-75930-derive-cfg.rs:61:23: 61:26 (#0),
|
|
},
|
|
Ident {
|
|
ident: "a",
|
|
span: $DIR/issue-75930-derive-cfg.rs:61:27: 61:28 (#0),
|
|
},
|
|
Punct {
|
|
ch: '=',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:61:29: 61:30 (#0),
|
|
},
|
|
Literal {
|
|
kind: Integer,
|
|
symbol: "25",
|
|
suffix: None,
|
|
span: $DIR/issue-75930-derive-cfg.rs:61:31: 61:33 (#0),
|
|
},
|
|
Punct {
|
|
ch: ';',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:61:33: 61:34 (#0),
|
|
},
|
|
Ident {
|
|
ident: "match",
|
|
span: $DIR/issue-75930-derive-cfg.rs:62:9: 62:14 (#0),
|
|
},
|
|
Ident {
|
|
ident: "true",
|
|
span: $DIR/issue-75930-derive-cfg.rs:62:15: 62:19 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Brace,
|
|
stream: TokenStream [
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:63:13: 63:14 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "cfg",
|
|
span: $DIR/issue-75930-derive-cfg.rs:63:15: 63:18 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "FALSE",
|
|
span: $DIR/issue-75930-derive-cfg.rs:63:19: 63:24 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:63:18: 63:25 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:63:14: 63:26 (#0),
|
|
},
|
|
Ident {
|
|
ident: "true",
|
|
span: $DIR/issue-75930-derive-cfg.rs:63:27: 63:31 (#0),
|
|
},
|
|
Punct {
|
|
ch: '=',
|
|
spacing: Joint,
|
|
span: $DIR/issue-75930-derive-cfg.rs:63:32: 63:33 (#0),
|
|
},
|
|
Punct {
|
|
ch: '>',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:63:33: 63:34 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Brace,
|
|
stream: TokenStream [],
|
|
span: $DIR/issue-75930-derive-cfg.rs:63:35: 63:37 (#0),
|
|
},
|
|
Punct {
|
|
ch: ',',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:63:37: 63:38 (#0),
|
|
},
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:64:13: 64:14 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "cfg_attr",
|
|
span: $DIR/issue-75930-derive-cfg.rs:64:15: 64:23 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "not",
|
|
span: $DIR/issue-75930-derive-cfg.rs:64:24: 64:27 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "FALSE",
|
|
span: $DIR/issue-75930-derive-cfg.rs:64:28: 64:33 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:64:27: 64:34 (#0),
|
|
},
|
|
Punct {
|
|
ch: ',',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:64:34: 64:35 (#0),
|
|
},
|
|
Ident {
|
|
ident: "allow",
|
|
span: $DIR/issue-75930-derive-cfg.rs:64:36: 64:41 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "warnings",
|
|
span: $DIR/issue-75930-derive-cfg.rs:64:42: 64:50 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:64:41: 64:51 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:64:23: 64:52 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:64:14: 64:53 (#0),
|
|
},
|
|
Ident {
|
|
ident: "false",
|
|
span: $DIR/issue-75930-derive-cfg.rs:64:54: 64:59 (#0),
|
|
},
|
|
Punct {
|
|
ch: '=',
|
|
spacing: Joint,
|
|
span: $DIR/issue-75930-derive-cfg.rs:64:60: 64:61 (#0),
|
|
},
|
|
Punct {
|
|
ch: '>',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:64:61: 64:62 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Brace,
|
|
stream: TokenStream [],
|
|
span: $DIR/issue-75930-derive-cfg.rs:64:63: 64:65 (#0),
|
|
},
|
|
Punct {
|
|
ch: ',',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:64:65: 64:66 (#0),
|
|
},
|
|
Ident {
|
|
ident: "_",
|
|
span: $DIR/issue-75930-derive-cfg.rs:65:13: 65:14 (#0),
|
|
},
|
|
Punct {
|
|
ch: '=',
|
|
spacing: Joint,
|
|
span: $DIR/issue-75930-derive-cfg.rs:65:15: 65:16 (#0),
|
|
},
|
|
Punct {
|
|
ch: '>',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:65:16: 65:17 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Brace,
|
|
stream: TokenStream [],
|
|
span: $DIR/issue-75930-derive-cfg.rs:65:18: 65:20 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:62:20: 66:10 (#0),
|
|
},
|
|
Punct {
|
|
ch: ';',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:66:10: 66:11 (#0),
|
|
},
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:68:9: 68:10 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "print_helper",
|
|
span: $DIR/issue-75930-derive-cfg.rs:68:11: 68:23 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "should_be_removed",
|
|
span: $DIR/issue-75930-derive-cfg.rs:68:24: 68:41 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:68:23: 68:42 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:68:10: 68:43 (#0),
|
|
},
|
|
Ident {
|
|
ident: "fn",
|
|
span: $DIR/issue-75930-derive-cfg.rs:69:9: 69:11 (#0),
|
|
},
|
|
Ident {
|
|
ident: "removed_fn",
|
|
span: $DIR/issue-75930-derive-cfg.rs:69:12: 69:22 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [],
|
|
span: $DIR/issue-75930-derive-cfg.rs:69:22: 69:24 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Brace,
|
|
stream: TokenStream [
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Joint,
|
|
span: $DIR/issue-75930-derive-cfg.rs:70:13: 70:14 (#0),
|
|
},
|
|
Punct {
|
|
ch: '!',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:70:14: 70:15 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "cfg",
|
|
span: $DIR/issue-75930-derive-cfg.rs:70:16: 70:19 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "FALSE",
|
|
span: $DIR/issue-75930-derive-cfg.rs:70:20: 70:25 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:70:19: 70:26 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:70:15: 70:27 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:69:25: 71:10 (#0),
|
|
},
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:73:9: 73:10 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "print_helper",
|
|
span: $DIR/issue-75930-derive-cfg.rs:73:11: 73:23 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "c",
|
|
span: $DIR/issue-75930-derive-cfg.rs:73:24: 73:25 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:73:23: 73:26 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:73:10: 73:27 (#0),
|
|
},
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:73:28: 73:29 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "cfg",
|
|
span: $DIR/issue-75930-derive-cfg.rs:73:30: 73:33 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "not",
|
|
span: $DIR/issue-75930-derive-cfg.rs:73:34: 73:37 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "FALSE",
|
|
span: $DIR/issue-75930-derive-cfg.rs:73:38: 73:43 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:73:37: 73:44 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:73:33: 73:45 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:73:29: 73:46 (#0),
|
|
},
|
|
Ident {
|
|
ident: "fn",
|
|
span: $DIR/issue-75930-derive-cfg.rs:73:47: 73:49 (#0),
|
|
},
|
|
Ident {
|
|
ident: "kept_fn",
|
|
span: $DIR/issue-75930-derive-cfg.rs:73:50: 73:57 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [],
|
|
span: $DIR/issue-75930-derive-cfg.rs:73:57: 73:59 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Brace,
|
|
stream: TokenStream [
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Joint,
|
|
span: $DIR/issue-75930-derive-cfg.rs:74:13: 74:14 (#0),
|
|
},
|
|
Punct {
|
|
ch: '!',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:74:14: 74:15 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "cfg",
|
|
span: $DIR/issue-75930-derive-cfg.rs:74:16: 74:19 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "not",
|
|
span: $DIR/issue-75930-derive-cfg.rs:74:20: 74:23 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "FALSE",
|
|
span: $DIR/issue-75930-derive-cfg.rs:74:24: 74:29 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:74:23: 74:30 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:74:19: 74:31 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:74:15: 74:32 (#0),
|
|
},
|
|
Ident {
|
|
ident: "let",
|
|
span: $DIR/issue-75930-derive-cfg.rs:75:13: 75:16 (#0),
|
|
},
|
|
Ident {
|
|
ident: "my_val",
|
|
span: $DIR/issue-75930-derive-cfg.rs:75:17: 75:23 (#0),
|
|
},
|
|
Punct {
|
|
ch: '=',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:75:24: 75:25 (#0),
|
|
},
|
|
Ident {
|
|
ident: "true",
|
|
span: $DIR/issue-75930-derive-cfg.rs:75:26: 75:30 (#0),
|
|
},
|
|
Punct {
|
|
ch: ';',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:75:30: 75:31 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:73:60: 76:10 (#0),
|
|
},
|
|
Ident {
|
|
ident: "enum",
|
|
span: $DIR/issue-75930-derive-cfg.rs:78:9: 78:13 (#0),
|
|
},
|
|
Ident {
|
|
ident: "TupleEnum",
|
|
span: $DIR/issue-75930-derive-cfg.rs:78:14: 78:23 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Brace,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "Foo",
|
|
span: $DIR/issue-75930-derive-cfg.rs:79:13: 79:16 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:80:17: 80:18 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "cfg",
|
|
span: $DIR/issue-75930-derive-cfg.rs:80:19: 80:22 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "FALSE",
|
|
span: $DIR/issue-75930-derive-cfg.rs:80:23: 80:28 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:80:22: 80:29 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:80:18: 80:30 (#0),
|
|
},
|
|
Ident {
|
|
ident: "u8",
|
|
span: $DIR/issue-75930-derive-cfg.rs:80:31: 80:33 (#0),
|
|
},
|
|
Punct {
|
|
ch: ',',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:80:33: 80:34 (#0),
|
|
},
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:81:17: 81:18 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "cfg",
|
|
span: $DIR/issue-75930-derive-cfg.rs:81:19: 81:22 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "FALSE",
|
|
span: $DIR/issue-75930-derive-cfg.rs:81:23: 81:28 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:81:22: 81:29 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:81:18: 81:30 (#0),
|
|
},
|
|
Ident {
|
|
ident: "bool",
|
|
span: $DIR/issue-75930-derive-cfg.rs:81:31: 81:35 (#0),
|
|
},
|
|
Punct {
|
|
ch: ',',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:81:35: 81:36 (#0),
|
|
},
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:82:17: 82:18 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "cfg",
|
|
span: $DIR/issue-75930-derive-cfg.rs:82:19: 82:22 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "not",
|
|
span: $DIR/issue-75930-derive-cfg.rs:82:23: 82:26 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "FALSE",
|
|
span: $DIR/issue-75930-derive-cfg.rs:82:27: 82:32 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:82:26: 82:33 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:82:22: 82:34 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:82:18: 82:35 (#0),
|
|
},
|
|
Ident {
|
|
ident: "i32",
|
|
span: $DIR/issue-75930-derive-cfg.rs:82:36: 82:39 (#0),
|
|
},
|
|
Punct {
|
|
ch: ',',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:82:39: 82:40 (#0),
|
|
},
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:83:17: 83:18 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "cfg",
|
|
span: $DIR/issue-75930-derive-cfg.rs:83:19: 83:22 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "FALSE",
|
|
span: $DIR/issue-75930-derive-cfg.rs:83:23: 83:28 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:83:22: 83:29 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:83:18: 83:30 (#0),
|
|
},
|
|
Ident {
|
|
ident: "String",
|
|
span: $DIR/issue-75930-derive-cfg.rs:83:31: 83:37 (#0),
|
|
},
|
|
Punct {
|
|
ch: ',',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:83:37: 83:38 (#0),
|
|
},
|
|
Ident {
|
|
ident: "u8",
|
|
span: $DIR/issue-75930-derive-cfg.rs:83:39: 83:41 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:79:16: 84:14 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:78:24: 85:10 (#0),
|
|
},
|
|
Ident {
|
|
ident: "struct",
|
|
span: $DIR/issue-75930-derive-cfg.rs:87:9: 87:15 (#0),
|
|
},
|
|
Ident {
|
|
ident: "TupleStruct",
|
|
span: $DIR/issue-75930-derive-cfg.rs:87:16: 87:27 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:88:13: 88:14 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "cfg",
|
|
span: $DIR/issue-75930-derive-cfg.rs:88:15: 88:18 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "FALSE",
|
|
span: $DIR/issue-75930-derive-cfg.rs:88:19: 88:24 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:88:18: 88:25 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:88:14: 88:26 (#0),
|
|
},
|
|
Ident {
|
|
ident: "String",
|
|
span: $DIR/issue-75930-derive-cfg.rs:88:27: 88:33 (#0),
|
|
},
|
|
Punct {
|
|
ch: ',',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:88:33: 88:34 (#0),
|
|
},
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:89:13: 89:14 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "cfg",
|
|
span: $DIR/issue-75930-derive-cfg.rs:89:15: 89:18 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "not",
|
|
span: $DIR/issue-75930-derive-cfg.rs:89:19: 89:22 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "FALSE",
|
|
span: $DIR/issue-75930-derive-cfg.rs:89:23: 89:28 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:89:22: 89:29 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:89:18: 89:30 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:89:14: 89:31 (#0),
|
|
},
|
|
Ident {
|
|
ident: "i32",
|
|
span: $DIR/issue-75930-derive-cfg.rs:89:32: 89:35 (#0),
|
|
},
|
|
Punct {
|
|
ch: ',',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:89:35: 89:36 (#0),
|
|
},
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:90:13: 90:14 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "cfg",
|
|
span: $DIR/issue-75930-derive-cfg.rs:90:15: 90:18 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "FALSE",
|
|
span: $DIR/issue-75930-derive-cfg.rs:90:19: 90:24 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:90:18: 90:25 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:90:14: 90:26 (#0),
|
|
},
|
|
Ident {
|
|
ident: "bool",
|
|
span: $DIR/issue-75930-derive-cfg.rs:90:27: 90:31 (#0),
|
|
},
|
|
Punct {
|
|
ch: ',',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:90:31: 90:32 (#0),
|
|
},
|
|
Ident {
|
|
ident: "u8",
|
|
span: $DIR/issue-75930-derive-cfg.rs:91:13: 91:15 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:87:27: 92:10 (#0),
|
|
},
|
|
Punct {
|
|
ch: ';',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:92:10: 92:11 (#0),
|
|
},
|
|
Ident {
|
|
ident: "fn",
|
|
span: $DIR/issue-75930-derive-cfg.rs:94:9: 94:11 (#0),
|
|
},
|
|
Ident {
|
|
ident: "plain_removed_fn",
|
|
span: $DIR/issue-75930-derive-cfg.rs:94:12: 94:28 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [],
|
|
span: $DIR/issue-75930-derive-cfg.rs:94:28: 94:30 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Brace,
|
|
stream: TokenStream [
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Joint,
|
|
span: $DIR/issue-75930-derive-cfg.rs:95:13: 95:14 (#0),
|
|
},
|
|
Punct {
|
|
ch: '!',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:95:14: 95:15 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "cfg_attr",
|
|
span: $DIR/issue-75930-derive-cfg.rs:95:16: 95:24 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "not",
|
|
span: $DIR/issue-75930-derive-cfg.rs:95:25: 95:28 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "FALSE",
|
|
span: $DIR/issue-75930-derive-cfg.rs:95:29: 95:34 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:95:28: 95:35 (#0),
|
|
},
|
|
Punct {
|
|
ch: ',',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:95:35: 95:36 (#0),
|
|
},
|
|
Ident {
|
|
ident: "cfg",
|
|
span: $DIR/issue-75930-derive-cfg.rs:95:37: 95:40 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "FALSE",
|
|
span: $DIR/issue-75930-derive-cfg.rs:95:41: 95:46 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:95:40: 95:47 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:95:24: 95:48 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:95:15: 95:49 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:94:31: 96:10 (#0),
|
|
},
|
|
Literal {
|
|
kind: Integer,
|
|
symbol: "0",
|
|
suffix: None,
|
|
span: $DIR/issue-75930-derive-cfg.rs:98:9: 98:10 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:58:17: 99:6 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:58:12: 99:7 (#0),
|
|
},
|
|
Punct {
|
|
ch: ',',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:99:7: 99:8 (#0),
|
|
},
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:100:5: 100:6 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "print_helper",
|
|
span: $DIR/issue-75930-derive-cfg.rs:100:7: 100:19 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "d",
|
|
span: $DIR/issue-75930-derive-cfg.rs:100:20: 100:21 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:100:19: 100:22 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:100:6: 100:23 (#0),
|
|
},
|
|
Ident {
|
|
ident: "fourth",
|
|
span: $DIR/issue-75930-derive-cfg.rs:101:5: 101:11 (#0),
|
|
},
|
|
Punct {
|
|
ch: ':',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:101:11: 101:12 (#0),
|
|
},
|
|
Ident {
|
|
ident: "B",
|
|
span: $DIR/issue-75930-derive-cfg.rs:101:13: 101:14 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:55:32: 102:2 (#0),
|
|
},
|
|
]
|
|
PRINT-DERIVE INPUT (DISPLAY): #[print_helper(a)] #[allow(dead_code)] #[print_helper(b)] struct Foo < B >
|
|
{
|
|
second : bool, third :
|
|
[u8 ;
|
|
{
|
|
#[cfg(not(FALSE))] struct Inner ; match true
|
|
{ #[allow(warnings)] false => {}, _ => {} } ; #[print_helper(c)]
|
|
#[cfg(not(FALSE))] fn kept_fn()
|
|
{ #! [cfg(not(FALSE))] let my_val = true ; } enum TupleEnum
|
|
{ Foo(#[cfg(not(FALSE))] i32, u8) } struct
|
|
TupleStruct(#[cfg(not(FALSE))] i32, u8) ; 0
|
|
}], #[print_helper(d)] fourth : B
|
|
}
|
|
PRINT-DERIVE INPUT (DEBUG): TokenStream [
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:49:1: 49:2 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "print_helper",
|
|
span: $DIR/issue-75930-derive-cfg.rs:49:3: 49:15 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "a",
|
|
span: $DIR/issue-75930-derive-cfg.rs:49:16: 49:17 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:49:15: 49:18 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:49:2: 49:19 (#0),
|
|
},
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:51:1: 51:2 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "allow",
|
|
span: $DIR/issue-75930-derive-cfg.rs:51:24: 51:29 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "dead_code",
|
|
span: $DIR/issue-75930-derive-cfg.rs:51:30: 51:39 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:51:29: 51:40 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:51:1: 51:2 (#0),
|
|
},
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:54:1: 54:2 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "print_helper",
|
|
span: $DIR/issue-75930-derive-cfg.rs:54:3: 54:15 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "b",
|
|
span: $DIR/issue-75930-derive-cfg.rs:54:16: 54:17 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:54:15: 54:18 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:54:2: 54:19 (#0),
|
|
},
|
|
Ident {
|
|
ident: "struct",
|
|
span: $DIR/issue-75930-derive-cfg.rs:55:1: 55:7 (#0),
|
|
},
|
|
Ident {
|
|
ident: "Foo",
|
|
span: $DIR/issue-75930-derive-cfg.rs:55:8: 55:11 (#0),
|
|
},
|
|
Punct {
|
|
ch: '<',
|
|
spacing: Joint,
|
|
span: $DIR/issue-75930-derive-cfg.rs:55:11: 55:12 (#0),
|
|
},
|
|
Ident {
|
|
ident: "B",
|
|
span: $DIR/issue-75930-derive-cfg.rs:55:29: 55:30 (#0),
|
|
},
|
|
Punct {
|
|
ch: '>',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:55:30: 55:31 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Brace,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "second",
|
|
span: $DIR/issue-75930-derive-cfg.rs:57:40: 57:46 (#0),
|
|
},
|
|
Punct {
|
|
ch: ':',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:57:46: 57:47 (#0),
|
|
},
|
|
Ident {
|
|
ident: "bool",
|
|
span: $DIR/issue-75930-derive-cfg.rs:57:48: 57:52 (#0),
|
|
},
|
|
Punct {
|
|
ch: ',',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:57:52: 57:53 (#0),
|
|
},
|
|
Ident {
|
|
ident: "third",
|
|
span: $DIR/issue-75930-derive-cfg.rs:58:5: 58:10 (#0),
|
|
},
|
|
Punct {
|
|
ch: ':',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:58:10: 58:11 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "u8",
|
|
span: $DIR/issue-75930-derive-cfg.rs:58:13: 58:15 (#0),
|
|
},
|
|
Punct {
|
|
ch: ';',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:58:15: 58:16 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Brace,
|
|
stream: TokenStream [
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:60:9: 60:10 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "cfg",
|
|
span: $DIR/issue-75930-derive-cfg.rs:60:11: 60:14 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "not",
|
|
span: $DIR/issue-75930-derive-cfg.rs:60:15: 60:18 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "FALSE",
|
|
span: $DIR/issue-75930-derive-cfg.rs:60:19: 60:24 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:60:18: 60:25 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:60:14: 60:26 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:60:10: 60:27 (#0),
|
|
},
|
|
Ident {
|
|
ident: "struct",
|
|
span: $DIR/issue-75930-derive-cfg.rs:60:28: 60:34 (#0),
|
|
},
|
|
Ident {
|
|
ident: "Inner",
|
|
span: $DIR/issue-75930-derive-cfg.rs:60:35: 60:40 (#0),
|
|
},
|
|
Punct {
|
|
ch: ';',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:60:40: 60:41 (#0),
|
|
},
|
|
Ident {
|
|
ident: "match",
|
|
span: $DIR/issue-75930-derive-cfg.rs:62:9: 62:14 (#0),
|
|
},
|
|
Ident {
|
|
ident: "true",
|
|
span: $DIR/issue-75930-derive-cfg.rs:62:15: 62:19 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Brace,
|
|
stream: TokenStream [
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:64:13: 64:14 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "allow",
|
|
span: $DIR/issue-75930-derive-cfg.rs:64:36: 64:41 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "warnings",
|
|
span: $DIR/issue-75930-derive-cfg.rs:64:42: 64:50 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:64:41: 64:51 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:64:13: 64:14 (#0),
|
|
},
|
|
Ident {
|
|
ident: "false",
|
|
span: $DIR/issue-75930-derive-cfg.rs:64:54: 64:59 (#0),
|
|
},
|
|
Punct {
|
|
ch: '=',
|
|
spacing: Joint,
|
|
span: $DIR/issue-75930-derive-cfg.rs:64:60: 64:61 (#0),
|
|
},
|
|
Punct {
|
|
ch: '>',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:64:61: 64:62 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Brace,
|
|
stream: TokenStream [],
|
|
span: $DIR/issue-75930-derive-cfg.rs:64:63: 64:65 (#0),
|
|
},
|
|
Punct {
|
|
ch: ',',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:64:65: 64:66 (#0),
|
|
},
|
|
Ident {
|
|
ident: "_",
|
|
span: $DIR/issue-75930-derive-cfg.rs:65:13: 65:14 (#0),
|
|
},
|
|
Punct {
|
|
ch: '=',
|
|
spacing: Joint,
|
|
span: $DIR/issue-75930-derive-cfg.rs:65:15: 65:16 (#0),
|
|
},
|
|
Punct {
|
|
ch: '>',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:65:16: 65:17 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Brace,
|
|
stream: TokenStream [],
|
|
span: $DIR/issue-75930-derive-cfg.rs:65:18: 65:20 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:62:20: 66:10 (#0),
|
|
},
|
|
Punct {
|
|
ch: ';',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:66:10: 66:11 (#0),
|
|
},
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:73:9: 73:10 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "print_helper",
|
|
span: $DIR/issue-75930-derive-cfg.rs:73:11: 73:23 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "c",
|
|
span: $DIR/issue-75930-derive-cfg.rs:73:24: 73:25 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:73:23: 73:26 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:73:10: 73:27 (#0),
|
|
},
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:73:28: 73:29 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "cfg",
|
|
span: $DIR/issue-75930-derive-cfg.rs:73:30: 73:33 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "not",
|
|
span: $DIR/issue-75930-derive-cfg.rs:73:34: 73:37 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "FALSE",
|
|
span: $DIR/issue-75930-derive-cfg.rs:73:38: 73:43 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:73:37: 73:44 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:73:33: 73:45 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:73:29: 73:46 (#0),
|
|
},
|
|
Ident {
|
|
ident: "fn",
|
|
span: $DIR/issue-75930-derive-cfg.rs:73:47: 73:49 (#0),
|
|
},
|
|
Ident {
|
|
ident: "kept_fn",
|
|
span: $DIR/issue-75930-derive-cfg.rs:73:50: 73:57 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [],
|
|
span: $DIR/issue-75930-derive-cfg.rs:73:57: 73:59 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Brace,
|
|
stream: TokenStream [
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Joint,
|
|
span: $DIR/issue-75930-derive-cfg.rs:74:13: 74:14 (#0),
|
|
},
|
|
Punct {
|
|
ch: '!',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:74:14: 74:15 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "cfg",
|
|
span: $DIR/issue-75930-derive-cfg.rs:74:16: 74:19 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "not",
|
|
span: $DIR/issue-75930-derive-cfg.rs:74:20: 74:23 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "FALSE",
|
|
span: $DIR/issue-75930-derive-cfg.rs:74:24: 74:29 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:74:23: 74:30 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:74:19: 74:31 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:74:15: 74:32 (#0),
|
|
},
|
|
Ident {
|
|
ident: "let",
|
|
span: $DIR/issue-75930-derive-cfg.rs:75:13: 75:16 (#0),
|
|
},
|
|
Ident {
|
|
ident: "my_val",
|
|
span: $DIR/issue-75930-derive-cfg.rs:75:17: 75:23 (#0),
|
|
},
|
|
Punct {
|
|
ch: '=',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:75:24: 75:25 (#0),
|
|
},
|
|
Ident {
|
|
ident: "true",
|
|
span: $DIR/issue-75930-derive-cfg.rs:75:26: 75:30 (#0),
|
|
},
|
|
Punct {
|
|
ch: ';',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:75:30: 75:31 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:73:60: 76:10 (#0),
|
|
},
|
|
Ident {
|
|
ident: "enum",
|
|
span: $DIR/issue-75930-derive-cfg.rs:78:9: 78:13 (#0),
|
|
},
|
|
Ident {
|
|
ident: "TupleEnum",
|
|
span: $DIR/issue-75930-derive-cfg.rs:78:14: 78:23 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Brace,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "Foo",
|
|
span: $DIR/issue-75930-derive-cfg.rs:79:13: 79:16 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:82:17: 82:18 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "cfg",
|
|
span: $DIR/issue-75930-derive-cfg.rs:82:19: 82:22 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "not",
|
|
span: $DIR/issue-75930-derive-cfg.rs:82:23: 82:26 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "FALSE",
|
|
span: $DIR/issue-75930-derive-cfg.rs:82:27: 82:32 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:82:26: 82:33 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:82:22: 82:34 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:82:18: 82:35 (#0),
|
|
},
|
|
Ident {
|
|
ident: "i32",
|
|
span: $DIR/issue-75930-derive-cfg.rs:82:36: 82:39 (#0),
|
|
},
|
|
Punct {
|
|
ch: ',',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:82:39: 82:40 (#0),
|
|
},
|
|
Ident {
|
|
ident: "u8",
|
|
span: $DIR/issue-75930-derive-cfg.rs:83:39: 83:41 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:79:16: 84:14 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:78:24: 85:10 (#0),
|
|
},
|
|
Ident {
|
|
ident: "struct",
|
|
span: $DIR/issue-75930-derive-cfg.rs:87:9: 87:15 (#0),
|
|
},
|
|
Ident {
|
|
ident: "TupleStruct",
|
|
span: $DIR/issue-75930-derive-cfg.rs:87:16: 87:27 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:89:13: 89:14 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "cfg",
|
|
span: $DIR/issue-75930-derive-cfg.rs:89:15: 89:18 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "not",
|
|
span: $DIR/issue-75930-derive-cfg.rs:89:19: 89:22 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "FALSE",
|
|
span: $DIR/issue-75930-derive-cfg.rs:89:23: 89:28 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:89:22: 89:29 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:89:18: 89:30 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:89:14: 89:31 (#0),
|
|
},
|
|
Ident {
|
|
ident: "i32",
|
|
span: $DIR/issue-75930-derive-cfg.rs:89:32: 89:35 (#0),
|
|
},
|
|
Punct {
|
|
ch: ',',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:89:35: 89:36 (#0),
|
|
},
|
|
Ident {
|
|
ident: "u8",
|
|
span: $DIR/issue-75930-derive-cfg.rs:91:13: 91:15 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:87:27: 92:10 (#0),
|
|
},
|
|
Punct {
|
|
ch: ';',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:92:10: 92:11 (#0),
|
|
},
|
|
Literal {
|
|
kind: Integer,
|
|
symbol: "0",
|
|
suffix: None,
|
|
span: $DIR/issue-75930-derive-cfg.rs:98:9: 98:10 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:58:17: 99:6 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:58:12: 99:7 (#0),
|
|
},
|
|
Punct {
|
|
ch: ',',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:99:7: 99:8 (#0),
|
|
},
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:100:5: 100:6 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "print_helper",
|
|
span: $DIR/issue-75930-derive-cfg.rs:100:7: 100:19 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "d",
|
|
span: $DIR/issue-75930-derive-cfg.rs:100:20: 100:21 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:100:19: 100:22 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:100:6: 100:23 (#0),
|
|
},
|
|
Ident {
|
|
ident: "fourth",
|
|
span: $DIR/issue-75930-derive-cfg.rs:101:5: 101:11 (#0),
|
|
},
|
|
Punct {
|
|
ch: ':',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:101:11: 101:12 (#0),
|
|
},
|
|
Ident {
|
|
ident: "B",
|
|
span: $DIR/issue-75930-derive-cfg.rs:101:13: 101:14 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:55:32: 102:2 (#0),
|
|
},
|
|
]
|