fix dogfood tests

This commit is contained in:
Oliver Schneider
2017-02-17 13:23:19 +01:00
committed by GitHub
parent 05a6945adc
commit b1f766b37b
+2 -2
View File
@@ -531,8 +531,8 @@ fn check_expr(&mut self, cx: &LateContext<'a, 'tcx>, expr: &'tcx Expr) {
if let ExprLit(ref lit) = ex.node {
use syntax::ast::{LitKind, LitIntType};
match lit.node {
LitKind::Int(_, LitIntType::Unsuffixed) => (),
LitKind::FloatUnsuffixed(_) => (),
LitKind::Int(_, LitIntType::Unsuffixed) |
LitKind::FloatUnsuffixed(_) => {},
_ => {
if cast_from.sty == cast_to.sty && !in_external_macro(cx, expr.span) {
span_lint(cx,