Sign in
fuchsia
/
third_party
/
rust
/
a10a02bf5fd00e4b34f1856af17d058dd5ec06f0
/
.
/
src
/
test
/
ui
/
const-generics
/
const-param-after-const-literal-arg.rs
blob: 6c2b14f2770da147c56c556222b70e88a9dc8eaa [
file
] [
log
] [
blame
]
// check-pass
// revisions: full min
#![
cfg_attr
(
full
,
feature
(
const_generics
))]
#![
cfg_attr
(
full
,
allow
(
incomplete_features
))]
struct
Foo
<
const
A
:
usize
,
const
B
:
usize
>;
impl
<
const
A
:
usize
>
Foo
<
1
,
A
>
{}
// ok
fn
main
()
{}