Thread 'main' panicked at 'assertion failed: `(left == right)` left: `"i32"`, right: `"u8"`',

I am getting the following code. No warnings or anything. Everything running smooth in build.

Error : thread 'main' panicked at 'assertion failed: (left == right)
left: "i32",
right: "u8"', src\main.rs:27:5

I tried checking all variables and everything. Bu no luck. Would love to discuss the code if anyone willing to help me fix it.

It looks like you (or one of your dependencies) called assert_eq! with two strings that don't match. Can you share the code that failed?

Can I share the code in person or some private conversation?

Sure, you can send me a private message if you'd like. Or if you want, you could share just some information about the line of code that is failing (line 27 of src/main.rs).

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.