We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 770583c + 6ee7e35 commit 5d1a366Copy full SHA for 5d1a366
compiler/rustc_session/src/config.rs
@@ -547,23 +547,6 @@ pub enum PrintRequest {
547
LinkArgs,
548
}
549
550
-#[derive(Copy, Clone)]
551
-pub enum BorrowckMode {
552
- Mir,
553
- Migrate,
554
-}
555
-
556
-impl BorrowckMode {
557
- /// Returns whether we should run the MIR-based borrow check, but also fall back
558
- /// on the AST borrow check if the MIR-based one errors.
559
- pub fn migrate(self) -> bool {
560
- match self {
561
- BorrowckMode::Mir => false,
562
- BorrowckMode::Migrate => true,
563
- }
564
565
566
567
pub enum Input {
568
/// Load source code from a file.
569
File(PathBuf),
0 commit comments