Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • U uefi
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 2
    • Issues 2
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • redox-osredox-os
  • uefi
  • Merge requests
  • !3

Use try_trait_v2 for Status

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Tim Crawford requested to merge tcrawford/uefi:try-trait-v2 into master Oct 11, 2021
  • Overview 0
  • Commits 1
  • Pipelines 0
  • Changes 2

try_trait was replaced by a new implementation. The RFC was used as a reference, as it documents a simple use case that nearly matches the current Status [1]. Fixes compiling with rustc versions newer than 2021-05-18.

Tracking Issue: https://github.com/rust-lang/rust/issues/84277

[1]: https://github.com/rust-lang/rfcs/blob/master/text/3058-try-trait-v2.md#implementing-try-for-a-non-generic-type

Signed-off-by: Tim Crawford tcrawford@system76.com

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: try-trait-v2