Reintroduce the lost (im)mutability checks

This commit is contained in:
Oliver Schneider
2018-05-11 09:50:29 +02:00
parent 665cf96221
commit 39c0f575f2
3 changed files with 3 additions and 3 deletions

View File

@@ -64,7 +64,7 @@ fn check_arguments<'a, 'tcx>(cx: &LateContext<'a, 'tcx>, arguments: &[Expr], typ
ty::TyRef(
_,
_,
_,
MutImmutable,
) |
ty::TyRawPtr(ty::TypeAndMut {
mutbl: MutImmutable,