We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 575af73 commit 0f1e176Copy full SHA for 0f1e176
pyrefly/lib/test/lsp/lsp_interaction/code_action_benchmark.rs
@@ -114,7 +114,8 @@ fn test_code_action_latency() {
114
115
let file_path = repo_root.join(&file_rel);
116
let uri = Url::from_file_path(&file_path).unwrap();
117
- interaction.client.did_open(&file_rel);
+ let file_rel_static: &'static str = Box::leak(file_rel.clone().into_boxed_str());
118
+ interaction.client.did_open(file_rel_static);
119
120
// Warm up by waiting for diagnostics on the target file.
121
interaction
0 commit comments