diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-06-08 13:43:21 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-08 13:43:21 +0200 |
| commit | 5d1a3669ee3e18fe7bcac455dc880861a73ff84b (patch) | |
| tree | ef40b7cfe82aff11110638db3ab968d922817426 | |
| parent | 770583cc6da6da96b1e2d729a917b3942cb701ad (diff) | |
| parent | 6ee7e35287e106b1ee9d276111692ebfc050ca81 (diff) | |
| download | rust-5d1a3669ee3e18fe7bcac455dc880861a73ff84b.tar.gz rust-5d1a3669ee3e18fe7bcac455dc880861a73ff84b.zip | |
Rollup merge of #97865 - lcnr:bb-BorrowckMode, r=Dylan-DPC
remove `BorrowckMode` dead code after #95565
| -rw-r--r-- | compiler/rustc_session/src/config.rs | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/compiler/rustc_session/src/config.rs b/compiler/rustc_session/src/config.rs index 5190cd44936..cabaf321f80 100644 --- a/compiler/rustc_session/src/config.rs +++ b/compiler/rustc_session/src/config.rs @@ -547,23 +547,6 @@ pub enum PrintRequest { LinkArgs, } -#[derive(Copy, Clone)] -pub enum BorrowckMode { - Mir, - Migrate, -} - -impl BorrowckMode { - /// Returns whether we should run the MIR-based borrow check, but also fall back - /// on the AST borrow check if the MIR-based one errors. - pub fn migrate(self) -> bool { - match self { - BorrowckMode::Mir => false, - BorrowckMode::Migrate => true, - } - } -} - pub enum Input { /// Load source code from a file. File(PathBuf), |
