fix generics

This commit is contained in:
nora 2022-06-18 11:10:09 +02:00
parent 012e5a0977
commit e5366a21ee
3 changed files with 62 additions and 23 deletions

View file

@ -1,11 +1,8 @@
use accursed_unutterable_type_id::AccursedUnutterablyTypeIdentified;
#[derive(AccursedUnutterablyTypeIdentified)]
struct Uwu<T, const N: usize>
where
T: 'static,
{
_x: [T; N],
struct Uwu<T> {
_x: T,
}
fn main() {}