| #![crate_name = "foo"] | |
| #![feature(min_generic_const_args)] | |
| #![expect(incomplete_features)] | |
| type const N: usize = 2; | |
| //@ has 'foo/trait.CollectArray.html' | |
| //@ has - '//pre[@class="rust item-decl"]/code' '[A; N]' | |
| pub trait CollectArray<A> { | |
| fn inner_array(&mut self) -> [A; N]; | |
| } |