Remove numeric literals from print_literal and write_literal tests
This commit is contained in:
parent
ab155b14a2
commit
fb2a06dcce
6 changed files with 31 additions and 73 deletions
|
|
@ -461,7 +461,7 @@ impl Write {
|
|||
span_lint(cx, lint, token_expr.span, "literal with an empty format string");
|
||||
}
|
||||
idx += 1;
|
||||
}
|
||||
},
|
||||
ExprKind::Assign(lhs, rhs, _) => {
|
||||
if_chain! {
|
||||
if let ExprKind::Lit(ref lit) = rhs.kind;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue