Sign in
android
/
toolchain
/
rustc
/
ee32a8b31351dab7161ea2edd877e46fc49c72d0
/
.
/
tests
/
ui
/
impl-trait
/
issues
/
issue-54600.rs
blob: 62bfd7cd96881f7b3a8fb7806e992d370f0de829 [
file
] [
log
] [
blame
]
use
std
::
fmt
::
Debug
;
fn
main
()
{
let
x
:
Option
<
impl
Debug
>
=
Some
(
44
_u32
);
//~^ `impl Trait` is not allowed in the type of variable bindings
println
!(
"{:?}"
,
x
);
}