Skip to main content

intern_const_ref

Function intern_const_ref 

Source
fn intern_const_ref<'db>(
    interner: DbInterner<'db>,
    value: &Literal,
    ty: Ty<'db>,
) -> Result<Const<'db>, CreateConstError<'db>>
Expand description

Interns a constant scalar with the given type