Debian Codegraph @

gcc/testsuite/rust/compile/parse_complex_generic_application2.rs

raw
1 #[lang = "sized"]
2 pub trait Sized {}
3
4 pub enum Either<L, R> {
5 Left(L),
6 Right(R),
7 }
8
9 pub struct Wrap<T>(T);
10
11 pub fn foo_wrap() -> Either<(), Wrap<u8>> {
12 Either::Left(())
13 }