Skip to content

Commit

Permalink
Test fixes and rebase conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed Mar 10, 2017
1 parent 792e529 commit d76b226
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/bootstrap/bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ def get_toml(self, key):

def get_mk(self, key):
for line in iter(self.config_mk.splitlines()):
if line.startswith(key + ' :='):
if line.startswith(key + ' '):
var = line[line.find(':=') + 2:].strip()
if var != '':
return var
Expand Down
2 changes: 1 addition & 1 deletion src/bootstrap/native.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ pub fn llvm(build: &Build, target: &str) {
}
}
if build.config.llvm_clean_rebuild {
t!(fs::remove_dir_all(&out_dir));
drop(fs::remove_dir_all(&out_dir));
}

println!("Building LLVM for {}", target);
Expand Down
2 changes: 1 addition & 1 deletion src/libsyntax/parse/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3731,7 +3731,7 @@ impl<'a> Parser<'a> {
!self.restrictions.contains(Restrictions::RESTRICTION_NO_STRUCT_LITERAL)
}

fn is_union_item(&mut self) -> bool {
fn is_union_item(&self) -> bool {
self.token.is_keyword(keywords::Union) &&
self.look_ahead(1, |t| t.is_ident() && !t.is_any_keyword())
}
Expand Down

0 comments on commit d76b226

Please sign in to comment.