MCPcopy Create free account
hub / github.com/IntegralPilot/rustc_codegen_jvm / main

Function main

tests/binary/collatz/src/main.rs:21–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19}
20
21const U32_TYPE_ID: core::any::TypeId = core::any::TypeId::of::<u32>();
22const U64_TYPE_ID: core::any::TypeId = core::any::TypeId::of::<u64>();
23
24// Check some core stuff to check it's compiling right
25fn check_core_constants() {
26 assert!(U32_TYPE_ID == U32_TYPE_ID);
27 assert!(!(U32_TYPE_ID == U64_TYPE_ID));
28
29 let increment = &|value: u32| value + 1;
30 assert!((*increment)(41) == 42);

Callers

nothing calls this directly

Calls 1

check_up_toFunction · 0.85

Tested by

no test coverage detected