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
/
const-generics
/
const-generic-default-wont-borrowck.rs
blob: e64adacac9fd26ad6ac1c08240d352a41f704a07 (
plain
)
1
2
3
4
5
struct
X
<
const
N
:
usize
=
{
let
s
:
&
'
static
str
;
s
.
len
()
//~ ERROR E0381
}
>
;
fn
main
()
{}