Skip to content

Commit fab528c

Browse files
committed
---
yaml --- r: 42286 b: refs/heads/master c: 6d5428c h: refs/heads/master v: v3
1 parent 8c0671d commit fab528c

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 6105f09cc163ab728ff0ef18d4f817ad1a34bfb3
2+
refs/heads/master: 6d5428cb4ee9117f16d3a5c7f36def4c60b364ed
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 2f46b763da2c098913884f101b6d71d69af41b49
55
refs/heads/try: 3d5418789064fdb463e872a4e651af1c628a3650

trunk/src/librustc/middle/trans/foreign.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ use syntax::parse::token::special_idents;
4242

4343
fn abi_info(arch: session::arch) -> cabi::ABIInfo {
4444
return match arch {
45-
arch_x86_64 | arch_arm => x86_64_abi_info(),
45+
arch_x86_64 => x86_64_abi_info(),
4646
_ => cabi::llvm_abi_info()
4747
}
4848
}

trunk/src/librustc/middle/ty.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2435,7 +2435,7 @@ pub fn type_structurally_contains_uniques(cx: ctxt, ty: t) -> bool {
24352435
24362436
pub fn type_is_integral(ty: t) -> bool {
24372437
match get(ty).sty {
2438-
ty_infer(IntVar(_)) | ty_int(_) | ty_uint(_) | ty_bool => true,
2438+
ty_infer(IntVar(_)) | ty_int(_) | ty_uint(_) => true,
24392439
_ => false
24402440
}
24412441
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
fn main() {
2+
-true; //~ ERROR cannot apply unary operator `-` to type `bool`
3+
}

0 commit comments

Comments
 (0)