mirror of
https://git.proxmox.com/git/rustc
synced 2025-06-26 16:00:07 +00:00
9 lines
311 B
Rust
9 lines
311 B
Rust
pub trait SomeTrait {}
|
|
pub trait OtherThingxxxxxxxx {}
|
|
|
|
pub fn alef<T: OtherThingxxxxxxxx>() -> Result<T, ()> { loop {} }
|
|
pub fn bet<T: SomeTrait>() -> Result<T, ()> { loop {} }
|
|
|
|
pub fn alpha<T: OtherThingxxxxxxxx>(_param: Result<T, ()>) { loop {} }
|
|
pub fn beta<T: SomeTrait>(_param: Result<T, ()>) { loop {} }
|