Sign in
rust
/
rust
/
548b5d2406cb0a79d67e745dc3bf45e7eddbb607
/
.
/
tests
/
ui
/
typeck
/
issue-79040.rs
blob: fe8dc45346186ddc7dc7352af2816838812c86e9 [
file
] [
log
] [
blame
]
fn
main
()
{
const
FOO
=
"hello"
+
1
;
//~^ ERROR cannot add `{integer}` to `&str`
//~| ERROR missing type for `const` item
println
!(
"{}"
,
FOO
);
}