fn report_bad_target( sess: &Session, item: &Annotatable, span: Span, ) -> Result<(), ErrorGuaranteed>