Sign in
android
/
toolchain
/
rustc
/
5139364148b53d79de1b5e778004d41a6a33a4a2
/
.
/
tests
/
ui
/
impl-trait
/
issues
/
issue-54600.rs
blob: ccf2767012e6d3a0d35d677b300f9479c0dc962c [
file
] [
log
] [
blame
]
use
std
::
fmt
::
Debug
;
fn
main
()
{
let
x
:
Option
<
impl
Debug
>
=
Some
(
44
_u32
);
//~^ `impl Trait` only allowed in function and inherent method argument and return types
println
!(
"{:?}"
,
x
);
}