mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-03 19:49:09 +00:00
fix ICE when computing codegen_fn_attrs on closure with non-fn parent Other call sites check `has_codegen_attrs` first, so let's do that too. Fixes #99876
For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.