1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
pub trait Aaaaaaa {} impl Aaaaaaa for () {} 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 } }