From 032319f55a8189f626fb5a60a3f172e1e4c1e896 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Valais?= Date: Sun, 3 Dec 2017 17:02:30 +0100 Subject: [PATCH] Tell the user that Cargo.toml should be found at the root This is a follow-up to the comments in #157 (https://github.com/rust-lang-nursery/rls-vscode/pull/157#issuecomment-348599867) --- src/extension.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/extension.ts b/src/extension.ts index 6c5892f6..ca29f71b 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -181,7 +181,7 @@ export function deactivate(): Promise { function warnOnMissingCargoToml() { workspace.findFiles('Cargo.toml').then(files => { if (files.length < 1) { - window.showWarningMessage('Cargo.toml must be in the workspace in order to support all features'); + window.showWarningMessage('A Cargo.toml file must be at the root of the workspace in order to support all features'); } }); }