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
88 lines
3.6 KiB
Plaintext
88 lines
3.6 KiB
Plaintext
PRINT-BANG INPUT (DISPLAY): foo! { #[fake_attr] mod bar {
|
|
#![doc = r" Foo"]
|
|
} }
|
|
PRINT-BANG DEEP-RE-COLLECTED (DISPLAY): foo! { #[fake_attr] mod bar { #! [doc = r" Foo"] } }
|
|
PRINT-BANG INPUT (DEBUG): TokenStream [
|
|
Ident {
|
|
ident: "foo",
|
|
span: $DIR/issue-78675-captured-inner-attrs.rs:20:9: 20:12 (#3),
|
|
},
|
|
Punct {
|
|
ch: '!',
|
|
spacing: Alone,
|
|
span: $DIR/issue-78675-captured-inner-attrs.rs:20:12: 20:13 (#3),
|
|
},
|
|
Group {
|
|
delimiter: Brace,
|
|
stream: TokenStream [
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Alone,
|
|
span: $DIR/issue-78675-captured-inner-attrs.rs:21:13: 21:14 (#3),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "fake_attr",
|
|
span: $DIR/issue-78675-captured-inner-attrs.rs:21:15: 21:24 (#3),
|
|
},
|
|
],
|
|
span: $DIR/issue-78675-captured-inner-attrs.rs:21:14: 21:25 (#3),
|
|
},
|
|
Group {
|
|
delimiter: None,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "mod",
|
|
span: $DIR/issue-78675-captured-inner-attrs.rs:27:5: 27:8 (#0),
|
|
},
|
|
Ident {
|
|
ident: "bar",
|
|
span: $DIR/issue-78675-captured-inner-attrs.rs:27:9: 27:12 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Brace,
|
|
stream: TokenStream [
|
|
Punct {
|
|
ch: '#',
|
|
spacing: Alone,
|
|
span: $DIR/issue-78675-captured-inner-attrs.rs:28:9: 28:16 (#0),
|
|
},
|
|
Punct {
|
|
ch: '!',
|
|
spacing: Alone,
|
|
span: $DIR/issue-78675-captured-inner-attrs.rs:28:9: 28:16 (#0),
|
|
},
|
|
Group {
|
|
delimiter: Bracket,
|
|
stream: TokenStream [
|
|
Ident {
|
|
ident: "doc",
|
|
span: $DIR/issue-78675-captured-inner-attrs.rs:28:9: 28:16 (#0),
|
|
},
|
|
Punct {
|
|
ch: '=',
|
|
spacing: Alone,
|
|
span: $DIR/issue-78675-captured-inner-attrs.rs:28:9: 28:16 (#0),
|
|
},
|
|
Literal {
|
|
kind: StrRaw(0),
|
|
symbol: " Foo",
|
|
suffix: None,
|
|
span: $DIR/issue-78675-captured-inner-attrs.rs:28:9: 28:16 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-78675-captured-inner-attrs.rs:28:9: 28:16 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-78675-captured-inner-attrs.rs:27:13: 29:6 (#0),
|
|
},
|
|
],
|
|
span: $DIR/issue-78675-captured-inner-attrs.rs:22:13: 22:18 (#3),
|
|
},
|
|
],
|
|
span: $DIR/issue-78675-captured-inner-attrs.rs:20:14: 23:10 (#3),
|
|
},
|
|
]
|