Skip to content

Commit b12a129

Browse files
Merge pull request #20701 from A4-Tacks/track-caller-assist-test
Add `#[track_caller]` for check_assist_by_label
2 parents 2c6f0fc + 42bba76 commit b12a129

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)