We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Currently this code compiles, but it shouldn't:
trait MyMul<RHS, Res> { fn mul(&self, rhs: &RHS) -> Res; } fn foo<T: MyMul<f64, f64>>(a: &T, b: f64) -> f64 { a * b } fn main() { }