mirror of
https://github.com/Noratrieb/accursed-unutterable-type-id.git
synced 2026-01-14 16:45:00 +01:00
ugh
This commit is contained in:
parent
dd85598b5c
commit
8d11f678c1
4 changed files with 133 additions and 7 deletions
|
|
@ -6,9 +6,19 @@ struct Uwu;
|
|||
#[derive(AccursedUnutterablyTypeIdentified)]
|
||||
struct Owo;
|
||||
|
||||
#[derive(AccursedUnutterablyTypeIdentified)]
|
||||
struct Hi;
|
||||
|
||||
#[derive(AccursedUnutterablyTypeIdentified)]
|
||||
struct OhLord;
|
||||
|
||||
fn main() {
|
||||
let uwu_id = AccursedUnutterableTypeId::of::<Uwu>();
|
||||
let owo_id = AccursedUnutterableTypeId::of::<Owo>();
|
||||
let hi_id = AccursedUnutterableTypeId::of::<Hi>();
|
||||
let oh_lord_id = AccursedUnutterableTypeId::of::<OhLord>();
|
||||
|
||||
assert_ne!(uwu_id, owo_id);
|
||||
assert_ne!(owo_id, hi_id);
|
||||
assert_ne!(hi_id, oh_lord_id);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue