syntax_data: {"ast_node_type":"function","tokens":[{"end":52,"kind":"keyword","start":0,"text":"fn"}]}
source_snippet:     fn needs_location(&self, ty: Ty<'tcx>) -> bool {
context_before:     /// Panics if the function's instance can't be immediately resolved.
context_after:         if let &ty::FnDef(did, substs) = ty.kind() {