fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
529 B20 linesraw
1error: no rules expected the token `[`
2  --> $DIR/macro-doc-comments-2.rs:6:5
3   |
4LL | macro_rules! inner {
5   | ------------------ when calling this macro
6...
7LL |     /// Outer
8   |     ^^^^^^^^^
9   |     |
10   |     no rules expected this token in macro call
11   |     outer doc comments expand to `#[doc = "..."]`, which is what this macro attempted to match
12   |
13note: while trying to match `!`
14  --> $DIR/macro-doc-comments-2.rs:2:7
15   |
16LL |     (#![$inner:meta]) => ()
17   |       ^
18
19error: aborting due to previous error
20