// check-pass #![feature(const_generics)] #![feature(const_generic_defaults)] #![allow(incomplete_features)] pub struct ConstDefault {} pub fn main() { let s = ConstDefault::default(); }