summaryrefslogtreecommitdiffstats
path: root/tests/ui/feature-gates/feature-gate-adt_const_params.rs
blob: 8a3bcf25963f15498d20f29abbb5974a7bcca2c2 (plain)
1
2
struct Foo<const NAME: &'static str>; //~ ERROR `&'static str` is forbidden
fn main() {}