Open
Description
The order of generic arguments is restricted to lifetime arguments, then type arguments, then const arguments, then equality constraints.
const and type arguments can now be in arbitrary order. This is already correct for parameters https://doc.rust-lang.org/nightly/reference/items/generics.html#r-items.generics.syntax.decl-order. This restriction generally shouldn't exist. We parse generic arguments in arbitrary order and only error when checking whether the order matches the generic parameters of the item