Skip to content

Commit f69da33

Browse files
committed
Add #[track_caller] for check_assist_by_label
1 parent bb7cdc2 commit f69da33

File tree

1 file changed

+1
-0
lines changed
  • src/tools/rust-analyzer/crates/ide-assists/src

1 file changed

+1
-0
lines changed

src/tools/rust-analyzer/crates/ide-assists/src/tests.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ pub(crate) fn check_assist_import_one(
180180

181181
// There is no way to choose what assist within a group you want to test against,
182182
// so this is here to allow you choose.
183+
#[track_caller]
183184
pub(crate) fn check_assist_by_label(
184185
assist: Handler,
185186
#[rust_analyzer::rust_fixture] ra_fixture_before: &str,

0 commit comments

Comments
 (0)