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

Unclear message in failed tests "to rerun pass --lib" #4215

Open
StefanSalewski opened this issue Jan 26, 2025 · 0 comments
Open

Unclear message in failed tests "to rerun pass --lib" #4215

StefanSalewski opened this issue Jan 26, 2025 · 0 comments

Comments

@StefanSalewski
Copy link

I was wondering about that text already when I saw it first in the book more than one year ago, and have still no idea.

https://doc.rust-lang.org/book/ch11-01-writing-tests.html#checking-for-panics-with-should_panic

What is these

"error: test failed, to rerun pass --lib"

I just tested, it is not a typo in the book, it is really printed when running "cargo test".

Well perhaps my question is a bit stupid, I am not a native English speaker :-)

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

1 participant