1
Fork 0
rust/compiler/rustc_infer
Matthias Krüger 3a04ec8c56
Rollup merge of #137302 - compiler-errors:stray-drop-regions, r=matthewjasper
Use a probe to avoid registering stray region obligations when re-checking drops in MIR typeck

Fixes #137288.

See the comment I left on the probe. I'm not totally sure why this depends on *both* an unconstrained type parameter in the impl and a type error for the self type, but I think the fix is at least theoretically well motivated.

r? ```@matthewjasper```
2025-02-21 12:45:24 +01:00
..
src Rollup merge of #137302 - compiler-errors:stray-drop-regions, r=matthewjasper 2025-02-21 12:45:24 +01:00
Cargo.toml Make fewer crates depend on rustc_ast_ir 2025-02-19 07:06:54 +00:00
messages.ftl Move all error reporting into rustc_trait_selection 2024-07-21 22:34:35 -04:00