Commit 75223c5
authored
Rollup merge of #157116 - makai410:with-tcx-refactor, r=oli-obk
rustc_public: add `with_cx()` to `CompilerInterface`
Changes a bunch of:
```rust
let cx = self.cx.borrow();
let mut tables = self.tables.borrow_mut();
```
to:
```rust
with_cx(|tables, cx| { ... })
```
in `compiler_interface.rs`.
r? @celinval1 file changed
Lines changed: 373 additions & 407 deletions
0 commit comments