Sign in
rust
/
rust-lang
/
rust
/
refs/heads/perf-tmp
/
.
/
tests
/
ui
/
const-generics
/
generic_const_exprs
/
issue-90847.rs
blob: a5d7acb2c8f9725501c5eab124c52fde702590eb [
file
] [
log
] [
blame
]
//@ check-pass
#![
allow
(
incomplete_features
)]
#![
feature
(
generic_const_exprs
)]
#![
feature
(
adt_const_params
)]
struct
Foo
<
const
A
:
[();
0
+
0
]>
where
[();
0
+
0
]:
Sized
;
fn
main
()
{}