Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TryDemangleError does not impl std::error::Error #61

Open
athre0z opened this issue Feb 7, 2023 · 1 comment
Open

TryDemangleError does not impl std::error::Error #61

athre0z opened this issue Feb 7, 2023 · 1 comment

Comments

@athre0z
Copy link

athre0z commented Feb 7, 2023

This makes try_demangle inconvenient to use when working with type-erased error handling.

@krtab
Copy link

krtab commented Feb 10, 2023

I believe this is because Error is currently still in std. (cf rust-lang/rust#103765)

I see two options:

  1. Add a feature to rustc-demangle to rely on std, and hence get access to Error
  2. Add a feature to rustc-demangle to rely on nightly and hence get acces to #![feature(error_in_core)]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants