Skip to content

Commit 215f0eb

Browse files
committed
Fix test error
1 parent 7ad91b8 commit 215f0eb

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/overview.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,4 +121,5 @@ If using the "experimental" crate feature, then you only need to implement the `
121121
`Judge` and `Return` trait will be automatically implemented.
122122
123123
*/
124-
use super::*;
124+
#[allow(unused_imports)]
125+
use super::*; // Brings symbols into scope for rustdoc links

tests/label/incomplete_expression.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ error: expected expression, found `]`
44
5 | twist! { -label 'a | 1 + }
55
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected expression
66
|
7-
::: $WORKSPACE/src/twist_impl.rs:167:36
7+
::: $WORKSPACE/src/twist_impl.rs:168:36
88
|
9-
167 | ( @label-expr ($($flag:tt)*) [ $e:expr ] -> $($l:tt)* ) => {
9+
168 | ( @label-expr ($($flag:tt)*) [ $e:expr ] -> $($l:tt)* ) => {
1010
| ------- while parsing argument for this `expr` macro fragment
1111
|
1212
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)

0 commit comments

Comments
 (0)