]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc-js/generics-trait.rs
Add 'library/portable-simd/' from commit '1ce1c645cf27c4acdefe6ec8a11d1f0491954a99'
[rust.git] / src / test / rustdoc-js / generics-trait.rs
1 pub trait SomeTrait {}
2 pub trait OtherThingxxxxxxxx {}
3
4 pub fn alef<T: OtherThingxxxxxxxx>() -> Result<T, ()> { loop {} }
5 pub fn bet<T: SomeTrait>() -> Result<T, ()> { loop {} }
6
7 pub fn alpha<T: OtherThingxxxxxxxx>(_param: Result<T, ()>) { loop {} }
8 pub fn beta<T: SomeTrait>(_param: Result<T, ()>) { loop {} }