Module rustc_hir_typeck::fn_ctxt::adjust_fulfillment_errors
source ยท Functionsยง
- find_param_in_ty ๐Traverses the given ty (either a
ty::Tyor aty::GenericArg) and searches for references to the givenparam_to_point_at. Returnstrueif it finds any use of the param. - Returns
Some(iterator.next())if it has exactly one item, andNoneotherwise.