error: type parameters with a default must be trailing --> $DIR/params-in-ct-in-ty-param-lazy-norm.rs:12:12 | LL | struct Bar(T); | ^ | = note: using type defaults and const parameters in the same parameter list is currently not permitted error: generic parameters must not be used inside of non trivial constant values --> $DIR/params-in-ct-in-ty-param-lazy-norm.rs:7:44 | LL | struct Foo()]>(T, U); | ^ non-trivial anonymous constants must not depend on the parameter `T` | = help: it is currently only allowed to use either `T` or `{ T }` as generic constants error: constant values inside of type parameter defaults must not depend on generic parameters --> $DIR/params-in-ct-in-ty-param-lazy-norm.rs:12:21 | LL | struct Bar(T); | ^ the anonymous constant must not depend on the parameter `N` error: aborting due to 3 previous errors