Sign in
rust
/
rust-lang
/
rust
/
HEAD
/
.
/
tests
/
ui
/
impl-trait
/
issues
/
issue-99642-2.rs
blob: d8d367a5d35f0b279268db7930ce86e39ab5df89 [
file
] [
log
] [
blame
]
//@ check-pass
#![
feature
(
type_alias_impl_trait
)]
type
Opq
=
impl
Sized
;
#[
define_opaque
(
Opq
)]
fn
test
()
->
impl
Iterator
<
Item
=
Opq
>
{
Box
::
new
(
0.
.)
as
Box
<
dyn
Iterator
<
Item
=
_
>>
}
fn
main
()
{}