Correct merge errors

This commit is contained in:
Niko Matsakis 2013-07-08 11:05:52 -04:00
parent b5fc4ae918
commit 0c6d02f391
8 changed files with 24 additions and 20 deletions

View file

@ -3914,7 +3914,7 @@ impl Parser {
};
let full_path = full_path.normalize();
let maybe_i = do self.sess.included_mod_stack.iter().position |&p| { p == full_path };
let maybe_i = do self.sess.included_mod_stack.iter().position |p| { *p == full_path };
match maybe_i {
Some(i) => {
let stack = &self.sess.included_mod_stack;