From 42bba767ef0a35471f0deac45dbcc015c0ee9b6d Mon Sep 17 00:00:00 2001 From: A4-Tacks Date: Fri, 19 Sep 2025 13:39:45 +0800 Subject: [PATCH] Add `#[track_caller]` for check_assist_by_label --- crates/ide-assists/src/tests.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/ide-assists/src/tests.rs b/crates/ide-assists/src/tests.rs index 3e422ae1b8..c0637a7470 100644 --- a/crates/ide-assists/src/tests.rs +++ b/crates/ide-assists/src/tests.rs @@ -180,6 +180,7 @@ pub(crate) fn check_assist_import_one( // There is no way to choose what assist within a group you want to test against, // so this is here to allow you choose. +#[track_caller] pub(crate) fn check_assist_by_label( assist: Handler, #[rust_analyzer::rust_fixture] ra_fixture_before: &str,