nikaia describe: method paths, generic results and explicit type arguments for Rust cratesOpen and answer this issue on GitHub.
ready · opened 2026-10-24 · updated 2026-10-24 · 0 comments
While building #788, a builder probed a project that depends on all 14 unsafe crates of the repository. nikaia describe drafts the simple free functions well (for example in crc32c and low_bits). A ledger that covers a whole crate fails on three gaps:
checked_text::CheckedText::check: describe drafts no entry for it.??. text_key::bytes is drafted as [T](x: ref T) -> ??, and a call on its result is refused with NK1245.text_key::is_text[String]() does not parse. Before this is built, check whether Part I/II already allows explicit type arguments at a call. If it does not, this point becomes a decision of its own and is split off.The shipped ledgers list only safe, non-generic free functions. An unsafe fn is not listed at all: a call to it stays NK1171 (fail-closed). A function behind a cfg gate (crc32c u64 needs sse4.2; low_bits u64/u32 need bmi2) carries the gate in a comment.
describe drafts methods and associated functions of pub types (Type::f, x.f()). Test: CheckedText::check gets an entry and a call from Nikaia checks.??. Test: text_key::bytes and a call on its result without NK1245.text_key::is_text[String]().