diff --git a/tests/ui/parse_expr.stderr b/tests/ui/parse_expr.stderr index e2412cc..69b4470 100644 --- a/tests/ui/parse_expr.stderr +++ b/tests/ui/parse_expr.stderr @@ -1,6 +1,8 @@ -error: expected expression, found `~` - --> $DIR/parse_expr.rs:13:19 +error: expected expression, found `)` + --> $DIR/parse_expr.rs:13:5 | 13 | json!({ "a" : ~ }); - | ^ + | ^^^^^^^^^^^^^^^^^^^ + | + = note: this error originates in a macro outside of the current crate