Sign in
fuchsia
/
third_party
/
rust
/
08351004125c4d49aa757f2c3ec2340f7469ea91
/
.
/
src
/
test
/
ui
/
issues
/
issue-33096.rs
blob: f0b472e2fe821e8a489f56eee942cb6618c5410c [
file
] [
log
] [
blame
]
// run-pass
// compile-flags: -g
use
std
::
ops
::
Deref
;
trait
Foo
{
fn
foo
()
{}
}
impl
Foo
for
u8
{}
fn
bar
<
T
:
Deref
>()
where T
::
Target
:
Foo
{
<<
T
as
Deref
>::
Target
as
Foo
>::
foo
()
}
fn
main
()
{
bar
::<&
u8
>();
}