Sign in
rust
/
rust
/
e8a00a7621606f8c4a34b679cefaaa6aecf2442e
/
.
/
tests
/
ui
/
const-generics
/
type-after-const-ok.rs
blob: 0a336e9a14a51a480c3f5d1126a631626ba8a1c7 [
file
] [
log
] [
blame
]
//@ run-pass
// Verifies that having generic parameters after constants is permitted
#[
allow
(
dead_code
)]
struct
A
<
const
N
:
usize
,
T
>(
T
);
fn
main
()
{}