Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libtest: Fix unwrap panic on duplicate TestDesc.
It is possible for different tests to collide to the same TestDesc when macros are involved. That is a bug, but it didn’t cause a panic until rust-lang#81367. For now, change the code to ignore this problem. Fixes rust-lang#81852. Signed-off-by: Anders Kaseorg <andersk@mit.edu> (cherry picked from commit 1605af0)
- Loading branch information