pub fn resolve_const_literal<'a>(
unit: impl Fn(&str) -> Option<(&'a UnitTable, &'a [String])>,
at: &'a str,
name: &str,
base: BaseType,
) -> Option<ResolvedConst<'a>>Expand description
#3445: resolve the bare name name, written in unit at, to the literal of
type base it denotes. Each hop of the chain is read in the scope of the
unit declaring it, as alias_literal does.