Sign in
rust
/
rust
/
b032fac34e5be72aa02748eadd4e8d8917a7e758
/
.
/
tests
/
ui
/
typeck
/
issue-81293.rs
blob: 076b8c944b8a4d79869e1058f148dd72ca5428e8 [
file
] [
log
] [
blame
]
fn
main
()
{
let
a
:
u16
;
let
b
:
u16
=
42
;
let
c
:
usize
=
5
;
a
=
c
+
b
*
5
;
//~ ERROR: mismatched types [E0308]
//~| ERROR: mismatched types [E0308]
//~| ERROR: cannot add `u16` to `usize` [E0277]
}