Closed tathyagarg closed 8 months ago
Are you following the note in Custom Test Frameworks section? Note: There is currently a bug in cargo that leads to “duplicate lang item” errors on cargo test in some cases. It occurs when you have set panic = "abort" for a profile in your Cargo.toml. Try removing it, then cargo test should work. See the cargo issue for more information on this.
That worked, thanks!
I've followed all the instructions so far, however, when I run
cargo test
I get the following error:Any ideas on what I may be doing wrong?