Sign in
◑
Theme
rust
/
rust
/
b1dbc2403e2e8aeaf558d5ca2afcd5da2bc9ef84
/
.
/
tests
/
ui
/
impl-trait
/
issues
/
issue-54600.rs
blob: b349c47328bb5748fe81823fbae166b69082a6fc [
file
]
use
std
::
fmt
::
Debug
;
fn
main
()
{
let
x
:
Option
<
impl
Debug
>
=
Some
(
44
_u32
);
//~^ ERROR `impl Trait` is not allowed in the type of variable bindings
println
!(
"{:?}"
,
x
);
}