Skip to content

regression: error[E0277]: the trait bound Box<dyn OptValueParse<'_>>: From<&mut [char]> is not satisfied #134710

Open
@cuviper

Description

[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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.I-prioritizeIssue: Indicates that prioritization has been requested for this issue.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.needs-triageThis issue may need triage. Remove it if it has been sufficiently triaged.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions