Sign in
rust
/
rustfmt
/
refs/heads/format_markdown_files_from_scratch
/
.
/
tests
/
target
/
issue-3601.rs
blob: c86ca24e7075533be93e2fb071a47df34a6d83ca [
file
] [
log
] [
blame
]
#![
feature
(
const_generics
)]
trait
A
{
fn
foo
(&
self
);
}
pub
struct
B
<
const
N
:
usize
>([
usize
;
N
]);
impl
<
const
N
:
usize
>
A
for
B
<{
N
}>
{
fn
foo
(&
self
)
{}
}