Merge pull request #20701 from A4-Tacks/track-caller-assist-test

Add `#[track_caller]` for check_assist_by_label
This commit is contained in:
Chayim Refael Friedman 2025-09-19 15:07:17 +00:00 committed by GitHub
commit b12a129347
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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,