Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
traits
/
issue-59029-1.rs
blob: 8ab47a4af1d2e92952ce4c3a40100bbea4ff410d [
file
] [
log
] [
blame
] [
edit
]
#![
feature
(
trait_alias
)]
trait
Svc
<
Req
>
{
type
Res
;
}
trait
MkSvc
<
Target
,
Req
>
=
Svc
<
Target
>
where
Self
::
Res
:
Svc
<
Req
>;
//~^ ERROR associated type `Res` not found for `Self`
//~| ERROR associated type `Res` not found for `Self`
fn
main
()
{}