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.
This fails to compile
trait Matrix { const EYE: f64; } fn get_EYE<M: Matrix>(t: M) { M::EYE }
with error: Associated consts cannot depend on type parameters or Self. [E0329], but it should work.
error: Associated consts cannot depend on type parameters or Self. [E0329]