blob: 346d865868d99078fdd54aecd88ac8b502ce848c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
error: no rules expected the token `[`
--> $DIR/macro-doc-comments-2.rs:6:5
|
LL | macro_rules! inner {
| ------------------ when calling this macro
...
LL | /// Outer
| ^^^^^^^^^
| |
| no rules expected this token in macro call
| outer doc comments expand to `#[doc = "..."]`, which is what this macro attempted to match
error: aborting due to previous error
|