diff options
| author | Giacomo Pasini <giacomo@status.im> | 2022-12-31 13:45:22 +0100 |
|---|---|---|
| committer | Giacomo Pasini <giacomo@status.im> | 2023-01-04 15:25:45 +0100 |
| commit | ac4426c093b5e7a457e0e32cc6ea2d3fb99c3148 (patch) | |
| tree | 271c46fa9472d3e09b066de2cadd527c64a4efac /compiler/rustc_mir_transform/src/coverage/graph.rs | |
| parent | ddad1e1f15f77074738bb3d7fb7688a9177b6450 (diff) | |
| download | rust-ac4426c093b5e7a457e0e32cc6ea2d3fb99c3148.tar.gz rust-ac4426c093b5e7a457e0e32cc6ea2d3fb99c3148.zip | |
Merge borrowck permission checks
Merge `check_access_permission` and `check_if_reassignment_to_immutable_state`. The goal of this commit is twofold: First, we simplify the codebase by removing duplicate logic. Second, we avoid duplicate reporting of illegal reassignment errors by reusing the exiting de-duplicating logic of access_place.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/graph.rs')
0 files changed, 0 insertions, 0 deletions
