about summary refs log tree commit diff
path: root/src/tools
diff options
context:
space:
mode:
authorChayim Refael Friedman <chayimfr@gmail.com>2025-09-19 15:07:17 +0000
committerGitHub <noreply@github.com>2025-09-19 15:07:17 +0000
commit300aee8239168bfd07114322654da9840d0a2331 (patch)
tree9a5c9bbe028b13184f72721742a330a0351dcd93 /src/tools
parent6ec196a7487d5cae024cde6853d9fc0ff91e92d7 (diff)
parentf69da330493233c9f5485919cc7c421c35a83bbc (diff)
downloadrust-300aee8239168bfd07114322654da9840d0a2331.tar.gz
rust-300aee8239168bfd07114322654da9840d0a2331.zip
Merge pull request #20701 from A4-Tacks/track-caller-assist-test
Add `#[track_caller]` for check_assist_by_label
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/rust-analyzer/crates/ide-assists/src/tests.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/rust-analyzer/crates/ide-assists/src/tests.rs b/src/tools/rust-analyzer/crates/ide-assists/src/tests.rs
index 3e422ae1b8f..c0637a7470f 100644
--- a/src/tools/rust-analyzer/crates/ide-assists/src/tests.rs
+++ b/src/tools/rust-analyzer/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,