rust/compiler/rustc_error_messages/src
Dylan DPC 113f079a97
Rollup merge of #96029 - IsakNyberg:error-messages-fix, r=Dylan-DPC
Refactor loop into iterator; simplify negation logic.

is_dummy should return when a non-dummy is found, but instead is iterated until completion. With some inspiration from line 323 this was refactored to a single line that returns once a single counterexample is found.
2022-04-19 22:57:41 +02:00
..
lib.rs Rollup merge of #96029 - IsakNyberg:error-messages-fix, r=Dylan-DPC 2022-04-19 22:57:41 +02:00