Function get_known_std_names

Source
fn get_known_std_names<'tcx>(
    tcx: TyCtxt<'tcx>,
    def_id: DefId,
) -> Option<Vec<String>>
Expand description

We use a json to record known std apis’ arg names. This function will search the json and return the names. Notes: If std gets updated, the json may still record old ones.