Skip to main content

hash_declaration

Function hash_declaration 

Source
pub fn hash_declaration(decl: &ConstantInfo) -> u64
Expand description

Compute a structural FNV-1a hash of a ConstantInfo declaration.

The hash covers the declaration name, its type expression, and its optional value expression (for definitions/theorems).