]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_hir_typeck/src/expr_use_visitor.rs
rustc_hir_typeck: fix paths and partially mv files
[rust.git] / compiler / rustc_hir_typeck / src / expr_use_visitor.rs
index 039c653e5bc64de9f55a55eaadee28906bfd37a3..fce2a5888ba24fe8fd710764b64ab644d130c58f 100644 (file)
@@ -89,15 +89,6 @@ enum ConsumeMode {
     Move,
 }
 
-#[derive(Copy, Clone, PartialEq, Debug)]
-pub enum MutateMode {
-    Init,
-    /// Example: `x = y`
-    JustWrite,
-    /// Example: `x += y`
-    WriteAndRead,
-}
-
 /// The ExprUseVisitor type
 ///
 /// This is the code that actually walks the tree.