update to the rust-PR that unblocks clippy
This commit is contained in:
@@ -68,8 +68,8 @@ impl LintPass for Unicode {
|
||||
}
|
||||
}
|
||||
|
||||
impl LateLintPass for Unicode {
|
||||
fn check_expr<'a, 'tcx: 'a>(&mut self, cx: &LateContext<'a, 'tcx>, expr: &'tcx Expr) {
|
||||
impl<'a, 'tcx> LateLintPass<'a, 'tcx> for Unicode {
|
||||
fn check_expr(&mut self, cx: &LateContext<'a, 'tcx>, expr: &'tcx Expr) {
|
||||
if let ExprLit(ref lit) = expr.node {
|
||||
if let LitKind::Str(_, _) = lit.node {
|
||||
check_str(cx, lit.span)
|
||||
|
||||
Reference in New Issue
Block a user