rust/compiler/rustc_hir_analysis
Trevor Gross 2526b01fdd
Rollup merge of #142606 - azhogin:azhogin/async-drop-without-sync-drop-error, r=oli-obk
AsyncDrop trait without sync Drop generates an error

When type implements `AsyncDrop` trait, it must also implement sync `Drop` trait to be used in sync context and unwinds.
This PR adds error generation in such a case.

Fixes: rust-lang/rust#140696
2025-06-18 20:22:50 -04:00
..
src Rollup merge of #142606 - azhogin:azhogin/async-drop-without-sync-drop-error, r=oli-obk 2025-06-18 20:22:50 -04:00
Cargo.toml introduce new lint infra 2025-06-12 09:56:47 +02:00
messages.ftl AsyncDrop trait without sync Drop generates an error 2025-06-18 09:04:34 +07:00
README.md rustc_typeck to rustc_hir_analysis 2022-09-27 10:37:23 +02:00

For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.