mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 15:01:51 +00:00
07f855d781
This crate is a private implementation detail. We only need to insert it into the crate graph for linking and should not expose any of its public API. Fixes #113533
60 lines
1.2 KiB
Plaintext
60 lines
1.2 KiB
Plaintext
PRINT-BANG INPUT (DISPLAY): A
|
|
PRINT-BANG INPUT (DEBUG): TokenStream [
|
|
Ident {
|
|
ident: "A",
|
|
span: #0 bytes(503..504),
|
|
},
|
|
]
|
|
PRINT-ATTR INPUT (DISPLAY): const A : u8 = 0 ;
|
|
PRINT-ATTR INPUT (DEBUG): TokenStream [
|
|
Ident {
|
|
ident: "const",
|
|
span: #3 bytes(416..421),
|
|
},
|
|
Ident {
|
|
ident: "A",
|
|
span: #0 bytes(503..504),
|
|
},
|
|
Punct {
|
|
ch: ':',
|
|
spacing: Alone,
|
|
span: #3 bytes(424..425),
|
|
},
|
|
Ident {
|
|
ident: "u8",
|
|
span: #3 bytes(426..428),
|
|
},
|
|
Punct {
|
|
ch: '=',
|
|
spacing: Alone,
|
|
span: #3 bytes(429..430),
|
|
},
|
|
Literal {
|
|
kind: Integer,
|
|
symbol: "0",
|
|
suffix: None,
|
|
span: #3 bytes(431..432),
|
|
},
|
|
Punct {
|
|
ch: ';',
|
|
spacing: Alone,
|
|
span: #3 bytes(432..433),
|
|
},
|
|
]
|
|
PRINT-DERIVE INPUT (DISPLAY): struct A {}
|
|
PRINT-DERIVE INPUT (DEBUG): TokenStream [
|
|
Ident {
|
|
ident: "struct",
|
|
span: #3 bytes(468..474),
|
|
},
|
|
Ident {
|
|
ident: "A",
|
|
span: #0 bytes(503..504),
|
|
},
|
|
Group {
|
|
delimiter: Brace,
|
|
stream: TokenStream [],
|
|
span: #3 bytes(478..480),
|
|
},
|
|
]
|