Sign in
rust
/
rust
/
8817572b4595df352e6a7fdd56422fb07cd28d89
/
.
/
tests
/
ui
/
type-alias-impl-trait
/
type-alias-impl-trait-const.rs
blob: e21627e14b098ad88b1f40933e7197368e3d2c48 [
file
] [
log
] [
blame
]
//@ check-pass
#![
feature
(
type_alias_impl_trait
)]
use
std
::
fmt
::
Debug
;
pub
type
Foo
=
impl
Debug
;
#[
define_opaque
(
Foo
)]
const
_FOO
:
Foo
=
5
;
#[
define_opaque
(
Foo
)]
static
_BAR
:
Foo
=
22
_i32
;
fn
main
()
{}