You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thread 'tests::test_verify_fn' panicked at 'range ..22 out of bounds: 10', .../.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitvec-1.0.1/src/slice/api.rs:2702:1
It is not very helpful error because it doesn't show where error happened in my code (which is the most likely cause of such errors).
Rust has #[track_caller] that can make error point to the code that user of the library wrote instead and it would be a significant improvement for developer experience.
The text was updated successfully, but these errors were encountered:
I sometimes get panics like this:
It is not very helpful error because it doesn't show where error happened in my code (which is the most likely cause of such errors).
Rust has
#[track_caller]
that can make error point to the code that user of the library wrote instead and it would be a significant improvement for developer experience.The text was updated successfully, but these errors were encountered: