File tree Expand file tree Collapse file tree 1 file changed +6
-12
lines changed Expand file tree Collapse file tree 1 file changed +6
-12
lines changed Original file line number Diff line number Diff line change 66// @has 'foo/macro.todo.html'
77// @has - '//span[@class="macro"]' 'macro_rules!'
88// @has - '//span[@class="ident"]' 'todo'
9- // Note: count = 2 * ('=' + '>') + '+' = 2 * (1 + 1) + 1 = 5
10- // @count - '//pre[@class="rust macro"]//span[@class="op"]' 5
9+ // Note: the only op is the `+`
10+ // @count - '//pre[@class="rust macro"]//span[@class="op"]' 1
1111
12- // @has - '{ ()'
13- // @has - '//span[@class="op"]' '='
14- // @has - '//span[@class="op"]' '>'
15- // @has - '{ ... };'
16-
17- // @has - '($('
12+ // @has - '{ () => { ... }; ($('
1813// @has - '//span[@class="macro-nonterminal"]' '$'
1914// @has - '//span[@class="macro-nonterminal"]' 'arg'
2015// @has - ':'
2116// @has - '//span[@class="ident"]' 'tt'
2217// @has - '),'
2318// @has - '//span[@class="op"]' '+'
24- // @has - ')'
19+ // @has - ') => { ... }; } '
2520pub use std:: todo;
2621
2722mod mod1 {
2823 // @has 'foo/macro.macro1.html'
2924 // @has - 'macro_rules!'
3025 // @has - 'macro1'
31- // @has - '{ ()'
32- // @has - '($('
26+ // @has - '{ () => { ... }; ($('
3327 // @has - '//span[@class="macro-nonterminal"]' '$'
3428 // @has - '//span[@class="macro-nonterminal"]' 'arg'
3529 // @has - ':'
3630 // @has - 'expr'
3731 // @has - '),'
3832 // @has - '+'
39- // @has - ')'
33+ // @has - ') => { ... }; } '
4034 #[ macro_export]
4135 macro_rules! macro1 {
4236 ( ) => { } ;
You can’t perform that action at this time.
0 commit comments