Skip to content

Commit 75223c5

Browse files
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? @celinval
2 parents 0164b8b + f6cbfd9 commit 75223c5

1 file changed

Lines changed: 373 additions & 407 deletions

File tree

0 commit comments

Comments
 (0)