Sign in
android
/
toolchain
/
rustc
/
d59a28787b7ba06edbd1e4528a42b66d67dc6a19
/
.
/
src
/
test
/
ui
/
issues
/
issue-37665.rs
blob: 81ff478aabc636feb284f3d55c098a6c30b0724e [
file
] [
log
] [
blame
]
// compile-flags: -Z unpretty=mir
use
std
::
path
::
MAIN_SEPARATOR
;
fn
main
()
{
let
mut
foo
:
String
=
"hello"
.
to_string
();
foo
.
push
(
MAIN_SEPARATOR
);
println
!(
"{}"
,
foo
);
let
x
:
()
=
0
;
//~ ERROR: mismatched types
}