mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-19 02:36:36 +00:00
Since the only use of `TypeCx::bug` is in `Constructor::is_covered_by`, it is tempting to return `false` instead of `Err()`, but that would cause "non-exhaustive match" false positives.