mirror of
https://github.com/emilk/egui.git
synced 2026-06-26 22:53:14 -04:00
use #[track_caller] in kitdiff
This commit is contained in:
@@ -859,6 +859,7 @@ impl From<SnapshotResults> for Vec<SnapshotError> {
|
||||
}
|
||||
|
||||
impl Drop for SnapshotResults {
|
||||
#[track_caller]
|
||||
fn drop(&mut self) {
|
||||
// Don't panic if we are already panicking (the test probably failed for another reason)
|
||||
if std::thread::panicking() {
|
||||
|
||||
Reference in New Issue
Block a user