Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
associated-types
/
issue-91231.rs
blob: d1c99fd44fa02026bd4289b2dd5bacff0fc2ed59 [
file
] [
log
] [
blame
]
//@ check-pass
#![
feature
(
extern_types
)]
#![
allow
(
dead_code
)]
extern
{
type
Extern
;
}
trait
Trait
{
type
Type
;
}
#[
inline
]
fn
f
<
'a>(_: <&'
a
Extern
as
Trait
>::
Type
)
where
&
'
a
Extern
:
Trait
{}
fn
main
()
{}