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