]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/traits/trait-inheritance-num.rs
3 #![allow(unused_variables)]
4 // pretty-expanded FIXME #23616
6 pub trait NumExt
: PartialEq
+ PartialOrd {}
8 pub trait FloatExt
: NumExt {}
10 fn greater_than_one
<T
: NumExt
>(n
: &T
) -> bool { loop {}
}
11 fn greater_than_one_float
<T
: FloatExt
>(n
: &T
) -> bool { loop {}
}