Closed
Description
- https://crater-reports.s3.amazonaws.com/beta-1.82-1/beta-2024-09-05/reg/moar_options-0.1.1/log.txt
- https://crater-reports.s3.amazonaws.com/beta-1.82-1/beta-2024-09-05/gh/Embers-of-the-Fire.rust-std-ext/log.txt
- https://crater-reports.s3.amazonaws.com/beta-1.82-1/beta-2024-09-05/reg/rs-std-ext-0.2.0/log.txt
[INFO] [stdout] error[E0277]: can't compare `str` with `&str`
[INFO] [stdout] --> src/lib.rs:29:40
[INFO] [stdout] |
[INFO] [stdout] 29 | assert!(input.is_none_or(|x| x == &"test"));
[INFO] [stdout] | ^^ no implementation for `str == &str`
[INFO] [stdout] |
[INFO] [stdout] = help: the trait `PartialEq<&str>` is not implemented for `str`, which is required by `&str: PartialEq<&&str>`
[INFO] [stdout] = note: required for `&str` to implement `PartialEq<&&str>
I think this was caused by stabilizing is_none_or
?
note: if this breakage was accepted by the relevant team then this issue can be closed.