]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/target/issue-3601.rs
Add 'compiler/rustc_codegen_gcc/' from commit 'afae271d5d3719eeb92c18bc004bb6d1965a5f3f'
[rust.git] / src / tools / rustfmt / tests / target / issue-3601.rs
1 #![feature(const_generics)]
2
3 trait A {
4     fn foo(&self);
5 }
6
7 pub struct B<const N: usize>([usize; N]);
8
9 impl<const N: usize> A for B<{ N }> {
10     fn foo(&self) {}
11 }