{"ast_node_type":"other","tokens":[{"end":18,"kind":"keyword","start":0,"text":"};"}]}
                };
                    format!("the `{item_name}` method cannot be invoked on a trait object")
                let mut err = self.dcx().struct_span_err(span, msg);