1 2 3 4 5 6 7
#![crate_type = "lib"] #![allow(dead_code)] struct Both<const N: usize=3, T> { //~^ ERROR: generic parameters with a default must be v: T }