rust/tests/ui/parser/parse-assoc-type-lt.rs

10 lines
128 B
Rust

//@ check-pass
//@ pretty-expanded FIXME #23616
trait Foo {
type T;
fn foo() -> Box<<Self as Foo>::T>;
}
fn main() {}