mirror of
https://github.com/Noratrieb/accursed-unutterable-type-id.git
synced 2026-01-14 16:45:00 +01:00
fix generics
This commit is contained in:
parent
012e5a0977
commit
e5366a21ee
3 changed files with 62 additions and 23 deletions
|
|
@ -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() {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue