We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5dd6464 commit e3eefe2Copy full SHA for e3eefe2
src/librustc_parse/parser/expr.rs
@@ -659,8 +659,7 @@ impl<'a> Parser<'a> {
659
ExprKind::MethodCall(_, _) => "a method call",
660
ExprKind::Call(_, _) => "a function call",
661
ExprKind::Await(_) => "`.await`",
662
- ref kind =>
663
- unreachable!("parse_dot_or_call_expr_with_ shouldn't produce a {:?}", kind),
+ _ => unreachable!("parse_dot_or_call_expr_with_ shouldn't produce this"),
664
}
665
);
666
let mut err = self.struct_span_err(span, &msg);
0 commit comments