Sign in
fuchsia
/
third_party
/
rust
/
11a0b968c287c81680387ffcf112328d52d7e815
/
.
/
src
/
test
/
ui
/
binop
/
binop-typeck.rs
blob: e1185cfba266cb14d854430028a176546ef05a98 [
file
] [
log
] [
blame
]
// issue #500
fn
main
()
{
let
x
=
true
;
let
y
=
1
;
let
z
=
x
+
y
;
//~^ ERROR binary operation `+` cannot be applied to type `bool`
}