Revert PR 81473 to resolve (on mainline) issues 81626 and 81658.
Revert "Add missing brace" This reverts commit85ad773049
. Revert "Simplify base_expr" This reverts commit899aae465e
. Revert "Warn write-only fields" This reverts commitd3c69a4c0d
.
This commit is contained in:
parent
602150f21f
commit
cf337d1119
4 changed files with 0 additions and 120 deletions
|
@ -338,12 +338,6 @@ impl<'tcx> Visitor<'tcx> for MarkSymbolVisitor<'tcx> {
|
|||
hir::ExprKind::MethodCall(..) => {
|
||||
self.lookup_and_handle_method(expr.hir_id);
|
||||
}
|
||||
hir::ExprKind::Assign(ref left, ref right, ..) => {
|
||||
self.handle_assign(left);
|
||||
self.check_for_self_assign(expr);
|
||||
self.visit_expr(right);
|
||||
return;
|
||||
}
|
||||
hir::ExprKind::Field(ref lhs, ..) => {
|
||||
self.handle_field_access(&lhs, expr.hir_id);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue