Skip to content

Commit d76b226

Browse files
committed
Test fixes and rebase conflicts
1 parent 792e529 commit d76b226

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/bootstrap/bootstrap.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ def get_toml(self, key):
296296

297297
def get_mk(self, key):
298298
for line in iter(self.config_mk.splitlines()):
299-
if line.startswith(key + ' :='):
299+
if line.startswith(key + ' '):
300300
var = line[line.find(':=') + 2:].strip()
301301
if var != '':
302302
return var

src/bootstrap/native.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ pub fn llvm(build: &Build, target: &str) {
5858
}
5959
}
6060
if build.config.llvm_clean_rebuild {
61-
t!(fs::remove_dir_all(&out_dir));
61+
drop(fs::remove_dir_all(&out_dir));
6262
}
6363

6464
println!("Building LLVM for {}", target);

src/libsyntax/parse/parser.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3731,7 +3731,7 @@ impl<'a> Parser<'a> {
37313731
!self.restrictions.contains(Restrictions::RESTRICTION_NO_STRUCT_LITERAL)
37323732
}
37333733

3734-
fn is_union_item(&mut self) -> bool {
3734+
fn is_union_item(&self) -> bool {
37353735
self.token.is_keyword(keywords::Union) &&
37363736
self.look_ahead(1, |t| t.is_ident() && !t.is_any_keyword())
37373737
}

0 commit comments

Comments
 (0)