error[E0229]: associated type bindings are not allowed here --> $DIR/invalid_associated_const.rs:4:17 | LL | type A: S = 34>; | ^^^^^^^^ associated type not allowed here error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0229`.