summaryrefslogtreecommitdiff
path: root/test_util/src
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2023-08-17 12:14:22 -0400
committerGitHub <noreply@github.com>2023-08-17 16:14:22 +0000
commitf343391a9f97d29ad287f247c06aa370eb7cab50 (patch)
treeeeed398c9506fde5c20d3e552edd8a432bc5a2ae /test_util/src
parent6082e51094e0b5835d7c83586766cc611da2a382 (diff)
fix(unstable): disable importing from the vendor directory (#20067)
Some people might get think they need to import from this directory, which could cause confusion and duplicate dependencies. Additionally, the `vendor` directory has special behaviour in the language server, so importing from the folder will definitely cause confusion and issues there.
Diffstat (limited to 'test_util/src')
-rw-r--r--test_util/src/lsp.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/test_util/src/lsp.rs b/test_util/src/lsp.rs
index 949dd25d6..8a1f24b32 100644
--- a/test_util/src/lsp.rs
+++ b/test_util/src/lsp.rs
@@ -998,6 +998,7 @@ impl CollectedDiagnostics {
.unwrap()
}
+ #[track_caller]
pub fn messages_with_file_and_source(
&self,
specifier: &str,