Sign in
◑
Theme
rust
/
rust
/
08ec41ea3dfd2d30a5747a084d0dbc79fba227d6
/
.
/
tests
/
crashes
/
152295.rs
blob: 85e23f0f41037db650517a42de5268daa4399624 [
file
]
//@ known-bug: #152295
#![
feature
(
type_alias_impl_trait
)]
type
Tait
=
impl
Sized
;
trait
Foo
:
Bar
<
Tait
>
{}
trait
Bar
<
T
>
{
fn
bar
(&
self
);
}
fn
test_correct2
(
x
:
&
dyn
Foo
)
{
x
.
bar
();
}
fn
main
()
{}