Sign in
android
/
toolchain
/
rustc
/
59fbe18bc79ed87d0c5f02705e7cf19e402e1f2b
/
.
/
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
()
{}