blob: 0ebf3d52b637252979c8a5a59826901c589365ee (
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-1.rs:6:5
|
LL | macro_rules! outer {
| ------------------ when calling this macro
...
LL | //! Inner
| ^^^^^^^^^
| |
| no rules expected this token in macro call
| inner doc comments expand to `#![doc = "..."]`, which is what this macro attempted to match
error: aborting due to previous error
|