rust/tests/ui/feature-gates/feature-gate-adt_const_params.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

3 lines
89 B
Rust
Raw Normal View History

struct Foo<const NAME: &'static str>; //~ ERROR `&'static str` is forbidden
fn main() {}