In some cases, attributes are only valid on functions, but itβs the check_attr
pass that checks that they arenβt used anywhere else, rather than this module.
In these cases, we bail from performing further checks that are only meaningful for
functions (such as calling fn_sig, which ICEs if given a non-function). We also
report a delayed bug, just in case check_attr isnβt doing its job.