1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
// src/borrowck/mod.rs mod region; mod move_check; mod lifetime; mod constraints; use crate::core::LingResult; // Borrow checking is WIP. #[derive(Clone, Debug, Default)] pub struct BorrowChecker; impl BorrowChecker { pub fn check(&self, _hir: &()) -> LingResult<()> { Ok(()) } }