Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
bad
/
bad-const-type.rs
blob: ce9ea7bc9edfc7c5dbc4b77d5b6e39e50d8ef70e [
file
] [
log
] [
blame
]
static
i
:
String
=
10
;
//~^ ERROR mismatched types
//~| expected struct `std::string::String`, found integer
fn
main
()
{
println
!(
"{}"
,
i
);
}