Rustup to nightly from 2017-01-31

This commit is contained in:
Mrmaxmeier
2017-02-03 11:52:13 +01:00
parent 2be75ef973
commit d68f0797bf
6 changed files with 28 additions and 30 deletions

View File

@@ -142,7 +142,10 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for LintWithoutLintPass {
fn is_lint_ref_type(ty: &Ty) -> bool {
if let TyRptr(_, MutTy { ty: ref inner, mutbl: MutImmutable }) = ty.node {
if let TyRptr(ref lt, MutTy { ty: ref inner, mutbl: MutImmutable }) = ty.node {
if lt.is_elided() {
return false;
}
if let TyPath(ref path) = inner.node {
return match_path(path, &paths::LINT);
}