From 053dac88caa94d47ff31db41c90390433fb906c1 Mon Sep 17 00:00:00 2001 From: Jonas Schievink Date: Wed, 7 Apr 2021 20:19:28 +0200 Subject: Update `OUT_DIR` diagnostic to match setting --- crates/hir_expand/src/builtin_macro.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/hir_expand') diff --git a/crates/hir_expand/src/builtin_macro.rs b/crates/hir_expand/src/builtin_macro.rs index 75ec4196b..a7d0f5b1f 100644 --- a/crates/hir_expand/src/builtin_macro.rs +++ b/crates/hir_expand/src/builtin_macro.rs @@ -490,7 +490,7 @@ fn env_expand( // unnecessary diagnostics for eg. `CARGO_PKG_NAME`. if key == "OUT_DIR" { err = Some(mbe::ExpandError::Other( - r#"`OUT_DIR` not set, enable "load out dirs from check" to fix"#.into(), + r#"`OUT_DIR` not set, enable "run build scripts" to fix"#.into(), )); } -- cgit v1.2.3