index
:
rust
this commit
auto
automation/bors/try
automation/bors/try-merge
beta
cargo_update
lcnr/rustc-dev-guide
master
perf-tmp
stable
try
try-perf
https://github.com/rust-lang/rust
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
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
()
{}