0b6e7e2acf
respect `#[allow]` attributes in `single_call_fn` lint Fixes #12182 If we delay linting to `check_crate_post`, we need to use `span_lint_hir_and_then`, since otherwise it would only respect those lint level attributes at the crate root. <sub>... maybe we can have an internal lint for this somehow?</sub> changelog: respect `#[allow]` attributes in `single_call_fn` lint