mirror of
https://git.proxmox.com/git/rustc
synced 2025-06-26 22:06:53 +00:00
28 lines
454 B
Rust
28 lines
454 B
Rust
pub trait Aaaaaaa {}
|
|
|
|
pub trait Bbbbbbb {}
|
|
|
|
impl Aaaaaaa for () {}
|
|
impl Bbbbbbb 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
|
|
}
|
|
pub fn ggggggg(&self) -> impl Aaaaaaa + Bbbbbbb {
|
|
()
|
|
}
|
|
}
|