Files
rust/compiler
Matthias Krüger 04bc9d13ca Rollup merge of #141031 - azhogin:azhogin/async-drop-dependency-fix, r=oli-obk
Async drop fix for dropee from another crate (#140858)

Fixes https://github.com/rust-lang/rust/issues/140858.

For `AsyncDestructor` impl def id was wrongly kept as a LocalDefId, which causes crash when dropee is declared in another crate.

Also, potential problem found:
when user crate drops type with async drop in dependency crate, and user crate doesn't enable `feature(async_drop)`, then sync drop version will be used.

Is it a problem? Do we need some notification about such situations?
2025-05-17 10:33:09 +02:00
..
2025-05-12 15:33:37 +02:00
2025-05-12 15:33:37 +02:00
2025-05-12 15:33:37 +02:00
2025-05-12 15:33:37 +02:00
2025-05-12 15:33:37 +02:00
2025-04-09 12:29:59 +01:00
2025-05-12 15:33:37 +02:00
2025-05-12 15:33:37 +02:00
2025-05-12 15:33:30 +02:00
2025-05-12 15:33:37 +02:00
2025-05-12 15:33:37 +02:00
2025-05-12 15:33:37 +02:00
2025-04-15 10:44:28 -04:00
2025-05-12 15:33:37 +02:00
2025-05-11 14:37:54 +10:00
2025-05-12 15:33:37 +02:00
2025-05-12 15:33:37 +02:00
2025-05-12 15:33:37 +02:00
2025-05-12 15:33:37 +02:00
2025-05-12 15:33:37 +02:00
2025-05-12 15:33:37 +02:00
2025-05-12 15:33:37 +02:00
2025-05-12 15:33:37 +02:00
2025-05-12 15:33:37 +02:00