syntax_data: {"ast_node_type":"function","tokens":[{"end":23,"kind":"keyword","start":0,"text":"fn"}]}
source_snippet:         fn from_struct(
context_before:         /// Panics if `def` is not a struct definition.
context_after:             (ty, layout): (Ty<'tcx>, Layout<'tcx>),