regression: error[E0277]: the trait bound Box<dyn OptValueParse<'_>>: From<&mut [char]>
is not satisfied #134710
Open
Description
opened on Dec 23, 2024
[INFO] [stdout] error[E0277]: the trait bound `Box<dyn OptValueParse<'_>>: From<&mut [char]>` is not satisfied
[INFO] [stdout] --> src/ovp.rs:513:23
[INFO] [stdout] |
[INFO] [stdout] 513 | OptValue::new(Box::from(self))
[INFO] [stdout] | ^^^ the trait `From<&mut [char]>` is not implemented for `Box<dyn OptValueParse<'_>>`
[INFO] [stdout] |
[INFO] [stdout] = help: the following other types implement trait `From<T>`:
[INFO] [stdout] `Box<CStr>` implements `From<&CStr>`
[INFO] [stdout] `Box<CStr>` implements `From<&mut CStr>`
[INFO] [stdout] `Box<CStr>` implements `From<CString>`
[INFO] [stdout] `Box<CStr>` implements `From<Cow<'_, CStr>>`
[INFO] [stdout] `Box<OsStr>` implements `From<&OsStr>`
[INFO] [stdout] `Box<OsStr>` implements `From<&mut OsStr>`
[INFO] [stdout] `Box<OsStr>` implements `From<Cow<'_, OsStr>>`
[INFO] [stdout] `Box<OsStr>` implements `From<OsString>`
[INFO] [stdout] and 23 others
... and many more errors with different From<_>
types.
Version it worked on
It most recently worked on: 1.83.0
Version with regression
Using rustc 1.84.0-beta.4 in crater #134138.
@rustbot modify labels: +regression-from-stable-to-beta -regression-untriaged
Metadata
Assignees
Labels
Category: This is a bug.Issue: Indicates that prioritization has been requested for this issue.Relevant to the library API team, which will review and decide on the PR/issue.This issue may need triage. Remove it if it has been sufficiently triaged.Performance or correctness regression from stable to beta.
Activity