Sign in
rust
/
rust
/
fe98ddcfcfb6f185dbf4adeaf439d8a756da0273
/
.
/
tests
/
ui
/
static
/
bad-const-type.rs
blob: d4e6352d7c1c9b6b37faa8ed77e4d9ab880690ce [
file
]
static
i
:
String
=
10
;
//~^ ERROR mismatched types
//~| NOTE expected `String`, found integer
fn
main
()
{
println
!(
"{}"
,
i
);
}