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