]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/rfc1598-generic-associated-types/parse/in-trait.rs
1 // build-pass (FIXME(62277): could be check-pass?)
2 // compile-flags: -Z parse-only
4 #![feature(generic_associated_types)]
13 type Bar
<'a
, 'b
, T
, U
>;
14 type Bar
<'a
, 'b
, T
, U
,>;
15 type Bar
<'a
, 'b
, T
: Debug
, U
,>;
16 type Bar
<'a
, 'b
, T
: Debug
, U
,>: Debug
;
17 type Bar
<'a
, 'b
, T
: Debug
, U
,>: Deref
<Target
= T
> + Into
<U
>;
18 type Bar
<'a
, 'b
, T
: Debug
, U
,> where T
: Deref
<Target
= U
>, U
: Into
<T
>;
19 type Bar
<'a
, 'b
, T
: Debug
, U
,>: Deref
<Target
= T
> + Into
<U
>
20 where T
: Deref
<Target
= U
>, U
: Into
<T
>;