Skip to main content

alias_literal

Function alias_literal 

Source
pub fn alias_literal<'a>(
    unit: impl Fn(&str) -> Option<(&'a UnitTable, &'a [String])>,
    owner: &str,
    start: &'a ConstDecl,
) -> Option<String>
Expand description

#3065: the string literal a String constant alias denotes, following each hop in the scope of the unit declaring the constant it was written in.