Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
type-alias-impl-trait
/
issue-60407.rs
blob: 7d462f057cb84eefc7b8702e9af92fb8bd85f5ad [
file
] [
log
] [
blame
]
// check-pass
#![
feature
(
type_alias_impl_trait
)]
type
Debuggable
=
impl
core
::
fmt
::
Debug
;
static
mut
TEST
:
Option
<
Debuggable
>
=
None
;
fn
main
()
{
unsafe
{
TEST
=
Some
(
foo
())
}
}
fn
foo
()
->
Debuggable
{
0u32
}