// check-pass // compile-flags: -Z parse-only use std::ops::Deref; use std::fmt::Debug; trait Foo { type Bar<'a>; type Bar<'a, 'b>; type Bar<'a, 'b,>; type Bar<'a, 'b, T>; type Bar<'a, 'b, T, U>; type Bar<'a, 'b, T, U,>; type Bar<'a, 'b, T: Debug, U,>; type Bar<'a, 'b, T: Debug, U,>: Debug; type Bar<'a, 'b, T: Debug, U,>: Deref + Into; type Bar<'a, 'b, T: Debug, U,> where T: Deref, U: Into; type Bar<'a, 'b, T: Debug, U,>: Deref + Into where T: Deref, U: Into; } fn main() {}