mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-03 17:48:43 +00:00
avoid overlapping const suggestions Avoid emitting the optional `const-extraction` suggestion when its **component spans** overlap, this avoids the compiler panic while still emitting the normal error and keeping the suggestion for cases where it can be generated correctly Fixes rust-lang/rust#161213