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

#[track_caller] For functions like "from" that have unwrap() inside. #357

Open
Pancir opened this issue Mar 11, 2023 · 0 comments
Open

#[track_caller] For functions like "from" that have unwrap() inside. #357

Pancir opened this issue Mar 11, 2023 · 0 comments

Comments

@Pancir
Copy link

Pancir commented Mar 11, 2023

For example the function/trait String::from("some_string"). This should generate better panic information.

It is available since 1.46
https://blog.rust-lang.org/2020/08/27/Rust-1.46.0.html

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

No branches or pull requests

2 participants