mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 15:01:51 +00:00
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:19:1: 19:2 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "print_helper",
|
|
span: $DIR/issue-75930-derive-cfg.rs:19:3: 19:15 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "a",
|
|
span: $DIR/issue-75930-derive-cfg.rs:19:16: 19:17 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:19:15: 19:18 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:19:2: 19:19 (#0),
|
|
},
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:21:1: 21:2 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "allow",
|
|
span: $DIR/issue-75930-derive-cfg.rs:21:24: 21:29 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "dead_code",
|
|
span: $DIR/issue-75930-derive-cfg.rs:21:30: 21:39 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:21:29: 21:40 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:21:1: 21:2 (#0),
|
|
},
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:23:1: 23:2 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "derive",
|
|
span: $DIR/issue-75930-derive-cfg.rs:23:3: 23:9 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "Print",
|
|
span: $DIR/issue-75930-derive-cfg.rs:23:10: 23:15 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:23:9: 23:16 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:23:2: 23:17 (#0),
|
|
},
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:24:1: 24:2 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "print_helper",
|
|
span: $DIR/issue-75930-derive-cfg.rs:24:3: 24:15 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "b",
|
|
span: $DIR/issue-75930-derive-cfg.rs:24:16: 24:17 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:24:15: 24:18 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:24:2: 24:19 (#0),
|
|
},
|
|
Ident {
|
|
ident: "struct",
|
|
span: $DIR/issue-75930-derive-cfg.rs:25:1: 25:7 (#0),
|
|
},
|
|
Ident {
|
|
ident: "Foo",
|
|
span: $DIR/issue-75930-derive-cfg.rs:25:8: 25:11 (#0),
|
|
},
|
|
Punct {
|
|
ch: '<',
|
|
spacing: Joint,
|
|
span: $DIR/issue-75930-derive-cfg.rs:25:11: 25:12 (#0),
|
|
},
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:25:12: 25:13 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "cfg",
|
|
span: $DIR/issue-75930-derive-cfg.rs:25:14: 25:17 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "FALSE",
|
|
span: $DIR/issue-75930-derive-cfg.rs:25:18: 25:23 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:25:17: 25:24 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:25:13: 25:25 (#0),
|
|
},
|
|
Ident {
|
|
ident: "A",
|
|
span: $DIR/issue-75930-derive-cfg.rs:25:26: 25:27 (#0),
|
|
},
|
|
Punct {
|
|
ch: ',',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:25:27: 25:28 (#0),
|
|
},
|
|
Ident {
|
|
ident: "B",
|
|
span: $DIR/issue-75930-derive-cfg.rs:25:29: 25:30 (#0),
|
|
},
|
|
Punct {
|
|
ch: '>',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:25:30: 25:31 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Brace,
|
|
stream: TokenStream [
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:26:5: 26:6 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "cfg",
|
|
span: $DIR/issue-75930-derive-cfg.rs:26:7: 26:10 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "FALSE",
|
|
span: $DIR/issue-75930-derive-cfg.rs:26:11: 26:16 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:26:10: 26:17 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:26:6: 26:18 (#0),
|
|
},
|
|
Ident {
|
|
ident: "first",
|
|
span: $DIR/issue-75930-derive-cfg.rs:26:19: 26:24 (#0),
|
|
},
|
|
Punct {
|
|
ch: ':',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:26:24: 26:25 (#0),
|
|
},
|
|
Ident {
|
|
ident: "String",
|
|
span: $DIR/issue-75930-derive-cfg.rs:26:26: 26:32 (#0),
|
|
},
|
|
Punct {
|
|
ch: ',',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:26:32: 26:33 (#0),
|
|
},
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:27:5: 27:6 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "cfg_attr",
|
|
span: $DIR/issue-75930-derive-cfg.rs:27:7: 27:15 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "FALSE",
|
|
span: $DIR/issue-75930-derive-cfg.rs:27:16: 27:21 (#0),
|
|
},
|
|
Punct {
|
|
ch: ',',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:27:21: 27:22 (#0),
|
|
},
|
|
Ident {
|
|
ident: "deny",
|
|
span: $DIR/issue-75930-derive-cfg.rs:27:23: 27:27 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "warnings",
|
|
span: $DIR/issue-75930-derive-cfg.rs:27:28: 27:36 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:27:27: 27:37 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:27:15: 27:38 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:27:6: 27:39 (#0),
|
|
},
|
|
Ident {
|
|
ident: "second",
|
|
span: $DIR/issue-75930-derive-cfg.rs:27:40: 27:46 (#0),
|
|
},
|
|
Punct {
|
|
ch: ':',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:27:46: 27:47 (#0),
|
|
},
|
|
Ident {
|
|
ident: "bool",
|
|
span: $DIR/issue-75930-derive-cfg.rs:27:48: 27:52 (#0),
|
|
},
|
|
Punct {
|
|
ch: ',',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:27:52: 27:53 (#0),
|
|
},
|
|
Ident {
|
|
ident: "third",
|
|
span: $DIR/issue-75930-derive-cfg.rs:28:5: 28:10 (#0),
|
|
},
|
|
Punct {
|
|
ch: ':',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:28:10: 28:11 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "u8",
|
|
span: $DIR/issue-75930-derive-cfg.rs:28:13: 28:15 (#0),
|
|
},
|
|
Punct {
|
|
ch: ';',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:28:15: 28:16 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Brace,
|
|
stream: TokenStream [
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:29:9: 29:10 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "cfg",
|
|
span: $DIR/issue-75930-derive-cfg.rs:29:11: 29:14 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "FALSE",
|
|
span: $DIR/issue-75930-derive-cfg.rs:29:15: 29:20 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:29:14: 29:21 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:29:10: 29:22 (#0),
|
|
},
|
|
Ident {
|
|
ident: "struct",
|
|
span: $DIR/issue-75930-derive-cfg.rs:29:23: 29:29 (#0),
|
|
},
|
|
Ident {
|
|
ident: "Bar",
|
|
span: $DIR/issue-75930-derive-cfg.rs:29:30: 29:33 (#0),
|
|
},
|
|
Punct {
|
|
ch: ';',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:29:33: 29:34 (#0),
|
|
},
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:30:9: 30:10 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "cfg",
|
|
span: $DIR/issue-75930-derive-cfg.rs:30:11: 30:14 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "not",
|
|
span: $DIR/issue-75930-derive-cfg.rs:30:15: 30:18 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "FALSE",
|
|
span: $DIR/issue-75930-derive-cfg.rs:30:19: 30:24 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:30:18: 30:25 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:30:14: 30:26 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:30:10: 30:27 (#0),
|
|
},
|
|
Ident {
|
|
ident: "struct",
|
|
span: $DIR/issue-75930-derive-cfg.rs:30:28: 30:34 (#0),
|
|
},
|
|
Ident {
|
|
ident: "Inner",
|
|
span: $DIR/issue-75930-derive-cfg.rs:30:35: 30:40 (#0),
|
|
},
|
|
Punct {
|
|
ch: ';',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:30:40: 30:41 (#0),
|
|
},
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:31:9: 31:10 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "cfg",
|
|
span: $DIR/issue-75930-derive-cfg.rs:31:11: 31:14 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "FALSE",
|
|
span: $DIR/issue-75930-derive-cfg.rs:31:15: 31:20 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:31:14: 31:21 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:31:10: 31:22 (#0),
|
|
},
|
|
Ident {
|
|
ident: "let",
|
|
span: $DIR/issue-75930-derive-cfg.rs:31:23: 31:26 (#0),
|
|
},
|
|
Ident {
|
|
ident: "a",
|
|
span: $DIR/issue-75930-derive-cfg.rs:31:27: 31:28 (#0),
|
|
},
|
|
Punct {
|
|
ch: '=',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:31:29: 31:30 (#0),
|
|
},
|
|
Literal {
|
|
kind: Integer,
|
|
symbol: "25",
|
|
suffix: None,
|
|
span: $DIR/issue-75930-derive-cfg.rs:31:31: 31:33 (#0),
|
|
},
|
|
Punct {
|
|
ch: ';',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:31:33: 31:34 (#0),
|
|
},
|
|
Ident {
|
|
ident: "match",
|
|
span: $DIR/issue-75930-derive-cfg.rs:32:9: 32:14 (#0),
|
|
},
|
|
Ident {
|
|
ident: "true",
|
|
span: $DIR/issue-75930-derive-cfg.rs:32:15: 32:19 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Brace,
|
|
stream: TokenStream [
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:33:13: 33:14 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "cfg",
|
|
span: $DIR/issue-75930-derive-cfg.rs:33:15: 33:18 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "FALSE",
|
|
span: $DIR/issue-75930-derive-cfg.rs:33:19: 33:24 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:33:18: 33:25 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:33:14: 33:26 (#0),
|
|
},
|
|
Ident {
|
|
ident: "true",
|
|
span: $DIR/issue-75930-derive-cfg.rs:33:27: 33:31 (#0),
|
|
},
|
|
Punct {
|
|
ch: '=',
|
|
spacing: Joint,
|
|
span: $DIR/issue-75930-derive-cfg.rs:33:32: 33:33 (#0),
|
|
},
|
|
Punct {
|
|
ch: '>',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:33:33: 33:34 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Brace,
|
|
stream: TokenStream [],
|
|
span: $DIR/issue-75930-derive-cfg.rs:33:35: 33:37 (#0),
|
|
},
|
|
Punct {
|
|
ch: ',',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:33:37: 33:38 (#0),
|
|
},
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:34:13: 34:14 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "cfg_attr",
|
|
span: $DIR/issue-75930-derive-cfg.rs:34:15: 34:23 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "not",
|
|
span: $DIR/issue-75930-derive-cfg.rs:34:24: 34:27 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "FALSE",
|
|
span: $DIR/issue-75930-derive-cfg.rs:34:28: 34:33 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:34:27: 34:34 (#0),
|
|
},
|
|
Punct {
|
|
ch: ',',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:34:34: 34:35 (#0),
|
|
},
|
|
Ident {
|
|
ident: "allow",
|
|
span: $DIR/issue-75930-derive-cfg.rs:34:36: 34:41 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "warnings",
|
|
span: $DIR/issue-75930-derive-cfg.rs:34:42: 34:50 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:34:41: 34:51 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:34:23: 34:52 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:34:14: 34:53 (#0),
|
|
},
|
|
Ident {
|
|
ident: "false",
|
|
span: $DIR/issue-75930-derive-cfg.rs:34:54: 34:59 (#0),
|
|
},
|
|
Punct {
|
|
ch: '=',
|
|
spacing: Joint,
|
|
span: $DIR/issue-75930-derive-cfg.rs:34:60: 34:61 (#0),
|
|
},
|
|
Punct {
|
|
ch: '>',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:34:61: 34:62 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Brace,
|
|
stream: TokenStream [],
|
|
span: $DIR/issue-75930-derive-cfg.rs:34:63: 34:65 (#0),
|
|
},
|
|
Punct {
|
|
ch: ',',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:34:65: 34:66 (#0),
|
|
},
|
|
Ident {
|
|
ident: "_",
|
|
span: $DIR/issue-75930-derive-cfg.rs:35:13: 35:14 (#0),
|
|
},
|
|
Punct {
|
|
ch: '=',
|
|
spacing: Joint,
|
|
span: $DIR/issue-75930-derive-cfg.rs:35:15: 35:16 (#0),
|
|
},
|
|
Punct {
|
|
ch: '>',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:35:16: 35:17 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Brace,
|
|
stream: TokenStream [],
|
|
span: $DIR/issue-75930-derive-cfg.rs:35:18: 35:20 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:32:20: 36:10 (#0),
|
|
},
|
|
Punct {
|
|
ch: ';',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:36:10: 36:11 (#0),
|
|
},
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:38:9: 38:10 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "print_helper",
|
|
span: $DIR/issue-75930-derive-cfg.rs:38:11: 38:23 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "should_be_removed",
|
|
span: $DIR/issue-75930-derive-cfg.rs:38:24: 38:41 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:38:23: 38:42 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:38:10: 38:43 (#0),
|
|
},
|
|
Ident {
|
|
ident: "fn",
|
|
span: $DIR/issue-75930-derive-cfg.rs:39:9: 39:11 (#0),
|
|
},
|
|
Ident {
|
|
ident: "removed_fn",
|
|
span: $DIR/issue-75930-derive-cfg.rs:39:12: 39:22 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [],
|
|
span: $DIR/issue-75930-derive-cfg.rs:39:22: 39:24 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Brace,
|
|
stream: TokenStream [
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Joint,
|
|
span: $DIR/issue-75930-derive-cfg.rs:40:13: 40:14 (#0),
|
|
},
|
|
Punct {
|
|
ch: '!',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:40:14: 40:15 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "cfg",
|
|
span: $DIR/issue-75930-derive-cfg.rs:40:16: 40:19 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "FALSE",
|
|
span: $DIR/issue-75930-derive-cfg.rs:40:20: 40:25 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:40:19: 40:26 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:40:15: 40:27 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:39:25: 41:10 (#0),
|
|
},
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:43:9: 43:10 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "print_helper",
|
|
span: $DIR/issue-75930-derive-cfg.rs:43:11: 43:23 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "c",
|
|
span: $DIR/issue-75930-derive-cfg.rs:43:24: 43:25 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:43:23: 43:26 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:43:10: 43:27 (#0),
|
|
},
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:43:28: 43:29 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "cfg",
|
|
span: $DIR/issue-75930-derive-cfg.rs:43:30: 43:33 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "not",
|
|
span: $DIR/issue-75930-derive-cfg.rs:43:34: 43:37 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "FALSE",
|
|
span: $DIR/issue-75930-derive-cfg.rs:43:38: 43:43 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:43:37: 43:44 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:43:33: 43:45 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:43:29: 43:46 (#0),
|
|
},
|
|
Ident {
|
|
ident: "fn",
|
|
span: $DIR/issue-75930-derive-cfg.rs:43:47: 43:49 (#0),
|
|
},
|
|
Ident {
|
|
ident: "kept_fn",
|
|
span: $DIR/issue-75930-derive-cfg.rs:43:50: 43:57 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [],
|
|
span: $DIR/issue-75930-derive-cfg.rs:43:57: 43:59 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Brace,
|
|
stream: TokenStream [
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Joint,
|
|
span: $DIR/issue-75930-derive-cfg.rs:44:13: 44:14 (#0),
|
|
},
|
|
Punct {
|
|
ch: '!',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:44:14: 44:15 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "cfg",
|
|
span: $DIR/issue-75930-derive-cfg.rs:44:16: 44:19 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "not",
|
|
span: $DIR/issue-75930-derive-cfg.rs:44:20: 44:23 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "FALSE",
|
|
span: $DIR/issue-75930-derive-cfg.rs:44:24: 44:29 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:44:23: 44:30 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:44:19: 44:31 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:44:15: 44:32 (#0),
|
|
},
|
|
Ident {
|
|
ident: "let",
|
|
span: $DIR/issue-75930-derive-cfg.rs:45:13: 45:16 (#0),
|
|
},
|
|
Ident {
|
|
ident: "my_val",
|
|
span: $DIR/issue-75930-derive-cfg.rs:45:17: 45:23 (#0),
|
|
},
|
|
Punct {
|
|
ch: '=',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:45:24: 45:25 (#0),
|
|
},
|
|
Ident {
|
|
ident: "true",
|
|
span: $DIR/issue-75930-derive-cfg.rs:45:26: 45:30 (#0),
|
|
},
|
|
Punct {
|
|
ch: ';',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:45:30: 45:31 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:43:60: 46:10 (#0),
|
|
},
|
|
Ident {
|
|
ident: "enum",
|
|
span: $DIR/issue-75930-derive-cfg.rs:48:9: 48:13 (#0),
|
|
},
|
|
Ident {
|
|
ident: "TupleEnum",
|
|
span: $DIR/issue-75930-derive-cfg.rs:48:14: 48:23 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Brace,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "Foo",
|
|
span: $DIR/issue-75930-derive-cfg.rs:49:13: 49:16 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:50:17: 50:18 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "cfg",
|
|
span: $DIR/issue-75930-derive-cfg.rs:50:19: 50:22 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "FALSE",
|
|
span: $DIR/issue-75930-derive-cfg.rs:50:23: 50:28 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:50:22: 50:29 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:50:18: 50:30 (#0),
|
|
},
|
|
Ident {
|
|
ident: "u8",
|
|
span: $DIR/issue-75930-derive-cfg.rs:50:31: 50:33 (#0),
|
|
},
|
|
Punct {
|
|
ch: ',',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:50:33: 50:34 (#0),
|
|
},
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:51:17: 51:18 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "cfg",
|
|
span: $DIR/issue-75930-derive-cfg.rs:51:19: 51:22 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "FALSE",
|
|
span: $DIR/issue-75930-derive-cfg.rs:51:23: 51:28 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:51:22: 51:29 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:51:18: 51:30 (#0),
|
|
},
|
|
Ident {
|
|
ident: "bool",
|
|
span: $DIR/issue-75930-derive-cfg.rs:51:31: 51:35 (#0),
|
|
},
|
|
Punct {
|
|
ch: ',',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:51:35: 51:36 (#0),
|
|
},
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:52:17: 52:18 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "cfg",
|
|
span: $DIR/issue-75930-derive-cfg.rs:52:19: 52:22 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "not",
|
|
span: $DIR/issue-75930-derive-cfg.rs:52:23: 52:26 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "FALSE",
|
|
span: $DIR/issue-75930-derive-cfg.rs:52:27: 52:32 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:52:26: 52:33 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:52:22: 52:34 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:52:18: 52:35 (#0),
|
|
},
|
|
Ident {
|
|
ident: "i32",
|
|
span: $DIR/issue-75930-derive-cfg.rs:52:36: 52:39 (#0),
|
|
},
|
|
Punct {
|
|
ch: ',',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:52:39: 52:40 (#0),
|
|
},
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:53:17: 53:18 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "cfg",
|
|
span: $DIR/issue-75930-derive-cfg.rs:53:19: 53:22 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "FALSE",
|
|
span: $DIR/issue-75930-derive-cfg.rs:53:23: 53:28 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:53:22: 53:29 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:53:18: 53:30 (#0),
|
|
},
|
|
Ident {
|
|
ident: "String",
|
|
span: $DIR/issue-75930-derive-cfg.rs:53:31: 53:37 (#0),
|
|
},
|
|
Punct {
|
|
ch: ',',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:53:37: 53:38 (#0),
|
|
},
|
|
Ident {
|
|
ident: "u8",
|
|
span: $DIR/issue-75930-derive-cfg.rs:53:39: 53:41 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:49:16: 54:14 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:48:24: 55:10 (#0),
|
|
},
|
|
Ident {
|
|
ident: "struct",
|
|
span: $DIR/issue-75930-derive-cfg.rs:57:9: 57:15 (#0),
|
|
},
|
|
Ident {
|
|
ident: "TupleStruct",
|
|
span: $DIR/issue-75930-derive-cfg.rs:57:16: 57:27 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:58:13: 58:14 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "cfg",
|
|
span: $DIR/issue-75930-derive-cfg.rs:58:15: 58:18 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "FALSE",
|
|
span: $DIR/issue-75930-derive-cfg.rs:58:19: 58:24 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:58:18: 58:25 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:58:14: 58:26 (#0),
|
|
},
|
|
Ident {
|
|
ident: "String",
|
|
span: $DIR/issue-75930-derive-cfg.rs:58:27: 58:33 (#0),
|
|
},
|
|
Punct {
|
|
ch: ',',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:58:33: 58:34 (#0),
|
|
},
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:59:13: 59:14 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "cfg",
|
|
span: $DIR/issue-75930-derive-cfg.rs:59:15: 59:18 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "not",
|
|
span: $DIR/issue-75930-derive-cfg.rs:59:19: 59:22 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "FALSE",
|
|
span: $DIR/issue-75930-derive-cfg.rs:59:23: 59:28 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:59:22: 59:29 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:59:18: 59:30 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:59:14: 59:31 (#0),
|
|
},
|
|
Ident {
|
|
ident: "i32",
|
|
span: $DIR/issue-75930-derive-cfg.rs:59:32: 59:35 (#0),
|
|
},
|
|
Punct {
|
|
ch: ',',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:59:35: 59:36 (#0),
|
|
},
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:60:13: 60:14 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "cfg",
|
|
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),
|
|
},
|
|
Ident {
|
|
ident: "bool",
|
|
span: $DIR/issue-75930-derive-cfg.rs:60:27: 60:31 (#0),
|
|
},
|
|
Punct {
|
|
ch: ',',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:60:31: 60:32 (#0),
|
|
},
|
|
Ident {
|
|
ident: "u8",
|
|
span: $DIR/issue-75930-derive-cfg.rs:61:13: 61:15 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:57:27: 62:10 (#0),
|
|
},
|
|
Punct {
|
|
ch: ';',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:62:10: 62:11 (#0),
|
|
},
|
|
Ident {
|
|
ident: "fn",
|
|
span: $DIR/issue-75930-derive-cfg.rs:64:9: 64:11 (#0),
|
|
},
|
|
Ident {
|
|
ident: "plain_removed_fn",
|
|
span: $DIR/issue-75930-derive-cfg.rs:64:12: 64:28 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [],
|
|
span: $DIR/issue-75930-derive-cfg.rs:64:28: 64:30 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Brace,
|
|
stream: TokenStream [
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Joint,
|
|
span: $DIR/issue-75930-derive-cfg.rs:65:13: 65:14 (#0),
|
|
},
|
|
Punct {
|
|
ch: '!',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:65:14: 65:15 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "cfg_attr",
|
|
span: $DIR/issue-75930-derive-cfg.rs:65:16: 65:24 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "not",
|
|
span: $DIR/issue-75930-derive-cfg.rs:65:25: 65:28 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "FALSE",
|
|
span: $DIR/issue-75930-derive-cfg.rs:65:29: 65:34 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:65:28: 65:35 (#0),
|
|
},
|
|
Punct {
|
|
ch: ',',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:65:35: 65:36 (#0),
|
|
},
|
|
Ident {
|
|
ident: "cfg",
|
|
span: $DIR/issue-75930-derive-cfg.rs:65:37: 65:40 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "FALSE",
|
|
span: $DIR/issue-75930-derive-cfg.rs:65:41: 65:46 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:65:40: 65:47 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:65:24: 65:48 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:65:15: 65:49 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:64:31: 66:10 (#0),
|
|
},
|
|
Literal {
|
|
kind: Integer,
|
|
symbol: "0",
|
|
suffix: None,
|
|
span: $DIR/issue-75930-derive-cfg.rs:68:9: 68:10 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:28:17: 69:6 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:28:12: 69:7 (#0),
|
|
},
|
|
Punct {
|
|
ch: ',',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:69:7: 69:8 (#0),
|
|
},
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:70:5: 70:6 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "print_helper",
|
|
span: $DIR/issue-75930-derive-cfg.rs:70:7: 70:19 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "d",
|
|
span: $DIR/issue-75930-derive-cfg.rs:70:20: 70:21 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:70:19: 70:22 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:70:6: 70:23 (#0),
|
|
},
|
|
Ident {
|
|
ident: "fourth",
|
|
span: $DIR/issue-75930-derive-cfg.rs:71:5: 71:11 (#0),
|
|
},
|
|
Punct {
|
|
ch: ':',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:71:11: 71:12 (#0),
|
|
},
|
|
Ident {
|
|
ident: "B",
|
|
span: $DIR/issue-75930-derive-cfg.rs:71:13: 71:14 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:25:32: 72: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:19:1: 19:2 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "print_helper",
|
|
span: $DIR/issue-75930-derive-cfg.rs:19:3: 19:15 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "a",
|
|
span: $DIR/issue-75930-derive-cfg.rs:19:16: 19:17 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:19:15: 19:18 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:19:2: 19:19 (#0),
|
|
},
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:21:1: 21:2 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "allow",
|
|
span: $DIR/issue-75930-derive-cfg.rs:21:24: 21:29 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "dead_code",
|
|
span: $DIR/issue-75930-derive-cfg.rs:21:30: 21:39 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:21:29: 21:40 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:21:1: 21:2 (#0),
|
|
},
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:24:1: 24:2 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "print_helper",
|
|
span: $DIR/issue-75930-derive-cfg.rs:24:3: 24:15 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "b",
|
|
span: $DIR/issue-75930-derive-cfg.rs:24:16: 24:17 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:24:15: 24:18 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:24:2: 24:19 (#0),
|
|
},
|
|
Ident {
|
|
ident: "struct",
|
|
span: $DIR/issue-75930-derive-cfg.rs:25:1: 25:7 (#0),
|
|
},
|
|
Ident {
|
|
ident: "Foo",
|
|
span: $DIR/issue-75930-derive-cfg.rs:25:8: 25:11 (#0),
|
|
},
|
|
Punct {
|
|
ch: '<',
|
|
spacing: Joint,
|
|
span: $DIR/issue-75930-derive-cfg.rs:25:11: 25:12 (#0),
|
|
},
|
|
Ident {
|
|
ident: "B",
|
|
span: $DIR/issue-75930-derive-cfg.rs:25:29: 25:30 (#0),
|
|
},
|
|
Punct {
|
|
ch: '>',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:25:30: 25:31 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Brace,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "second",
|
|
span: $DIR/issue-75930-derive-cfg.rs:27:40: 27:46 (#0),
|
|
},
|
|
Punct {
|
|
ch: ':',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:27:46: 27:47 (#0),
|
|
},
|
|
Ident {
|
|
ident: "bool",
|
|
span: $DIR/issue-75930-derive-cfg.rs:27:48: 27:52 (#0),
|
|
},
|
|
Punct {
|
|
ch: ',',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:27:52: 27:53 (#0),
|
|
},
|
|
Ident {
|
|
ident: "third",
|
|
span: $DIR/issue-75930-derive-cfg.rs:28:5: 28:10 (#0),
|
|
},
|
|
Punct {
|
|
ch: ':',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:28:10: 28:11 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "u8",
|
|
span: $DIR/issue-75930-derive-cfg.rs:28:13: 28:15 (#0),
|
|
},
|
|
Punct {
|
|
ch: ';',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:28:15: 28:16 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Brace,
|
|
stream: TokenStream [
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:30:9: 30:10 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "cfg",
|
|
span: $DIR/issue-75930-derive-cfg.rs:30:11: 30:14 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "not",
|
|
span: $DIR/issue-75930-derive-cfg.rs:30:15: 30:18 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "FALSE",
|
|
span: $DIR/issue-75930-derive-cfg.rs:30:19: 30:24 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:30:18: 30:25 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:30:14: 30:26 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:30:10: 30:27 (#0),
|
|
},
|
|
Ident {
|
|
ident: "struct",
|
|
span: $DIR/issue-75930-derive-cfg.rs:30:28: 30:34 (#0),
|
|
},
|
|
Ident {
|
|
ident: "Inner",
|
|
span: $DIR/issue-75930-derive-cfg.rs:30:35: 30:40 (#0),
|
|
},
|
|
Punct {
|
|
ch: ';',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:30:40: 30:41 (#0),
|
|
},
|
|
Ident {
|
|
ident: "match",
|
|
span: $DIR/issue-75930-derive-cfg.rs:32:9: 32:14 (#0),
|
|
},
|
|
Ident {
|
|
ident: "true",
|
|
span: $DIR/issue-75930-derive-cfg.rs:32:15: 32:19 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Brace,
|
|
stream: TokenStream [
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:34:13: 34:14 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "allow",
|
|
span: $DIR/issue-75930-derive-cfg.rs:34:36: 34:41 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "warnings",
|
|
span: $DIR/issue-75930-derive-cfg.rs:34:42: 34:50 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:34:41: 34:51 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:34:13: 34:14 (#0),
|
|
},
|
|
Ident {
|
|
ident: "false",
|
|
span: $DIR/issue-75930-derive-cfg.rs:34:54: 34:59 (#0),
|
|
},
|
|
Punct {
|
|
ch: '=',
|
|
spacing: Joint,
|
|
span: $DIR/issue-75930-derive-cfg.rs:34:60: 34:61 (#0),
|
|
},
|
|
Punct {
|
|
ch: '>',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:34:61: 34:62 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Brace,
|
|
stream: TokenStream [],
|
|
span: $DIR/issue-75930-derive-cfg.rs:34:63: 34:65 (#0),
|
|
},
|
|
Punct {
|
|
ch: ',',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:34:65: 34:66 (#0),
|
|
},
|
|
Ident {
|
|
ident: "_",
|
|
span: $DIR/issue-75930-derive-cfg.rs:35:13: 35:14 (#0),
|
|
},
|
|
Punct {
|
|
ch: '=',
|
|
spacing: Joint,
|
|
span: $DIR/issue-75930-derive-cfg.rs:35:15: 35:16 (#0),
|
|
},
|
|
Punct {
|
|
ch: '>',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:35:16: 35:17 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Brace,
|
|
stream: TokenStream [],
|
|
span: $DIR/issue-75930-derive-cfg.rs:35:18: 35:20 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:32:20: 36:10 (#0),
|
|
},
|
|
Punct {
|
|
ch: ';',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:36:10: 36:11 (#0),
|
|
},
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:43:9: 43:10 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "print_helper",
|
|
span: $DIR/issue-75930-derive-cfg.rs:43:11: 43:23 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "c",
|
|
span: $DIR/issue-75930-derive-cfg.rs:43:24: 43:25 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:43:23: 43:26 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:43:10: 43:27 (#0),
|
|
},
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:43:28: 43:29 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "cfg",
|
|
span: $DIR/issue-75930-derive-cfg.rs:43:30: 43:33 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "not",
|
|
span: $DIR/issue-75930-derive-cfg.rs:43:34: 43:37 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "FALSE",
|
|
span: $DIR/issue-75930-derive-cfg.rs:43:38: 43:43 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:43:37: 43:44 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:43:33: 43:45 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:43:29: 43:46 (#0),
|
|
},
|
|
Ident {
|
|
ident: "fn",
|
|
span: $DIR/issue-75930-derive-cfg.rs:43:47: 43:49 (#0),
|
|
},
|
|
Ident {
|
|
ident: "kept_fn",
|
|
span: $DIR/issue-75930-derive-cfg.rs:43:50: 43:57 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [],
|
|
span: $DIR/issue-75930-derive-cfg.rs:43:57: 43:59 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Brace,
|
|
stream: TokenStream [
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Joint,
|
|
span: $DIR/issue-75930-derive-cfg.rs:44:13: 44:14 (#0),
|
|
},
|
|
Punct {
|
|
ch: '!',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:44:14: 44:15 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "cfg",
|
|
span: $DIR/issue-75930-derive-cfg.rs:44:16: 44:19 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "not",
|
|
span: $DIR/issue-75930-derive-cfg.rs:44:20: 44:23 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "FALSE",
|
|
span: $DIR/issue-75930-derive-cfg.rs:44:24: 44:29 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:44:23: 44:30 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:44:19: 44:31 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:44:15: 44:32 (#0),
|
|
},
|
|
Ident {
|
|
ident: "let",
|
|
span: $DIR/issue-75930-derive-cfg.rs:45:13: 45:16 (#0),
|
|
},
|
|
Ident {
|
|
ident: "my_val",
|
|
span: $DIR/issue-75930-derive-cfg.rs:45:17: 45:23 (#0),
|
|
},
|
|
Punct {
|
|
ch: '=',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:45:24: 45:25 (#0),
|
|
},
|
|
Ident {
|
|
ident: "true",
|
|
span: $DIR/issue-75930-derive-cfg.rs:45:26: 45:30 (#0),
|
|
},
|
|
Punct {
|
|
ch: ';',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:45:30: 45:31 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:43:60: 46:10 (#0),
|
|
},
|
|
Ident {
|
|
ident: "enum",
|
|
span: $DIR/issue-75930-derive-cfg.rs:48:9: 48:13 (#0),
|
|
},
|
|
Ident {
|
|
ident: "TupleEnum",
|
|
span: $DIR/issue-75930-derive-cfg.rs:48:14: 48:23 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Brace,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "Foo",
|
|
span: $DIR/issue-75930-derive-cfg.rs:49:13: 49:16 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:52:17: 52:18 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "cfg",
|
|
span: $DIR/issue-75930-derive-cfg.rs:52:19: 52:22 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "not",
|
|
span: $DIR/issue-75930-derive-cfg.rs:52:23: 52:26 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "FALSE",
|
|
span: $DIR/issue-75930-derive-cfg.rs:52:27: 52:32 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:52:26: 52:33 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:52:22: 52:34 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:52:18: 52:35 (#0),
|
|
},
|
|
Ident {
|
|
ident: "i32",
|
|
span: $DIR/issue-75930-derive-cfg.rs:52:36: 52:39 (#0),
|
|
},
|
|
Punct {
|
|
ch: ',',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:52:39: 52:40 (#0),
|
|
},
|
|
Ident {
|
|
ident: "u8",
|
|
span: $DIR/issue-75930-derive-cfg.rs:53:39: 53:41 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:49:16: 54:14 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:48:24: 55:10 (#0),
|
|
},
|
|
Ident {
|
|
ident: "struct",
|
|
span: $DIR/issue-75930-derive-cfg.rs:57:9: 57:15 (#0),
|
|
},
|
|
Ident {
|
|
ident: "TupleStruct",
|
|
span: $DIR/issue-75930-derive-cfg.rs:57:16: 57:27 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:59:13: 59:14 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "cfg",
|
|
span: $DIR/issue-75930-derive-cfg.rs:59:15: 59:18 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "not",
|
|
span: $DIR/issue-75930-derive-cfg.rs:59:19: 59:22 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "FALSE",
|
|
span: $DIR/issue-75930-derive-cfg.rs:59:23: 59:28 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:59:22: 59:29 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:59:18: 59:30 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:59:14: 59:31 (#0),
|
|
},
|
|
Ident {
|
|
ident: "i32",
|
|
span: $DIR/issue-75930-derive-cfg.rs:59:32: 59:35 (#0),
|
|
},
|
|
Punct {
|
|
ch: ',',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:59:35: 59:36 (#0),
|
|
},
|
|
Ident {
|
|
ident: "u8",
|
|
span: $DIR/issue-75930-derive-cfg.rs:61:13: 61:15 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:57:27: 62:10 (#0),
|
|
},
|
|
Punct {
|
|
ch: ';',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:62:10: 62:11 (#0),
|
|
},
|
|
Literal {
|
|
kind: Integer,
|
|
symbol: "0",
|
|
suffix: None,
|
|
span: $DIR/issue-75930-derive-cfg.rs:68:9: 68:10 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:28:17: 69:6 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:28:12: 69:7 (#0),
|
|
},
|
|
Punct {
|
|
ch: ',',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:69:7: 69:8 (#0),
|
|
},
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:70:5: 70:6 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "print_helper",
|
|
span: $DIR/issue-75930-derive-cfg.rs:70:7: 70:19 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Parenthesis,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "d",
|
|
span: $DIR/issue-75930-derive-cfg.rs:70:20: 70:21 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:70:19: 70:22 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:70:6: 70:23 (#0),
|
|
},
|
|
Ident {
|
|
ident: "fourth",
|
|
span: $DIR/issue-75930-derive-cfg.rs:71:5: 71:11 (#0),
|
|
},
|
|
Punct {
|
|
ch: ':',
|
|
spacing: Alone,
|
|
span: $DIR/issue-75930-derive-cfg.rs:71:11: 71:12 (#0),
|
|
},
|
|
Ident {
|
|
ident: "B",
|
|
span: $DIR/issue-75930-derive-cfg.rs:71:13: 71:14 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-75930-derive-cfg.rs:25:32: 72:2 (#0),
|
|
},
|
|
]
|