mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-06 17:52:01 +00:00
Fixed numerus of error message
When there are redundant trait requirements and these are hidden, a message is generated by the following code snippet:
`format!("{} redundant requirements hidden", count)`
But if there is only a single hidden requirement, it will still print this message in plural instead of singular.