validate_target

Function validate_target 

Source
pub fn validate_target(
    token: &Token,
    data: &Everything,
    sc: &mut ScopeContext,
    outscopes: Scopes,
) -> Scopes
Expand description

Just like validate_target_ok_this, but warns if the target is a literal this because that is usually a mistake.