2021-06-26 14:00:26 -05:00
|
|
|
pub trait SomeTrait {}
|
|
|
|
pub trait OtherThingxxxxxxxx {}
|
|
|
|
|
2024-06-03 02:35:56 -05:00
|
|
|
pub fn alef<T: OtherThingxxxxxxxx>() -> Result<T, ()> {
|
|
|
|
loop {}
|
|
|
|
}
|
|
|
|
pub fn bet<T: SomeTrait>() -> Result<T, ()> {
|
|
|
|
loop {}
|
|
|
|
}
|
2021-06-26 14:00:26 -05:00
|
|
|
|
2024-06-03 02:35:56 -05:00
|
|
|
pub fn alpha<T: OtherThingxxxxxxxx>(_param: Result<T, ()>) {
|
|
|
|
loop {}
|
|
|
|
}
|
|
|
|
pub fn beta<T: SomeTrait>(_param: Result<T, ()>) {
|
|
|
|
loop {}
|
|
|
|
}
|