2022-05-31 13:12:02 -05:00
|
|
|
pub trait Aaaaaaa {}
|
|
|
|
|
2023-10-06 00:32:37 -05:00
|
|
|
pub trait Bbbbbbb {}
|
|
|
|
|
2022-05-31 13:12:02 -05:00
|
|
|
impl Aaaaaaa for () {}
|
2023-10-06 00:32:37 -05:00
|
|
|
impl Bbbbbbb for () {}
|
2022-05-31 13:12:02 -05:00
|
|
|
|
|
|
|
pub fn bbbbbbb() -> impl Aaaaaaa {
|
|
|
|
()
|
|
|
|
}
|
|
|
|
|
|
|
|
pub struct Ccccccc {}
|
|
|
|
|
|
|
|
impl Ccccccc {
|
|
|
|
pub fn ddddddd(&self) -> impl Aaaaaaa {
|
|
|
|
()
|
|
|
|
}
|
|
|
|
pub fn eeeeeee(&self, _x: impl Aaaaaaa) -> i32 {
|
|
|
|
0
|
|
|
|
}
|
|
|
|
pub fn fffffff(&self, x: impl Aaaaaaa) -> impl Aaaaaaa {
|
|
|
|
x
|
|
|
|
}
|
2023-10-06 00:32:37 -05:00
|
|
|
pub fn ggggggg(&self) -> impl Aaaaaaa + Bbbbbbb {
|
|
|
|
()
|
|
|
|
}
|
2022-05-31 13:12:02 -05:00
|
|
|
}
|