]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc/middle/borrowck/mod.rs
rollup merge of #17355 : gamazeps/issue17210
[rust.git] / src / librustc / middle / borrowck / mod.rs
index ec36723e4ac2d825622dcf0bed56d39da917aaa8..e1e37b3d371a5461b47999c7f0fa7c3d817b6be6 100644 (file)
@@ -321,8 +321,7 @@ pub fn opt_loan_path(cmt: &mc::cmt) -> Option<Rc<LoanPath>> {
             None
         }
 
-        mc::cat_local(id) |
-        mc::cat_arg(id) => {
+        mc::cat_local(id) => {
             Some(Rc::new(LpVar(id)))
         }