Function rustc_typeck::collect::is_param [−][src]
Expand description
Tests whether this is the AST for a reference to the type
parameter with ID param_id
. We use this so as to avoid running
ast_ty_to_ty
, because we want to avoid triggering an all-out
conversion of the type to avoid inducing unnecessary cycles.