From: Ralf Jung Date: Sun, 22 Mar 2020 19:09:14 +0000 (+0100) Subject: fix outdated sysroot help message X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=dd4fef0cd95ba90ea6e1a13f054e2b66f36772ff;p=rust.git fix outdated sysroot help message --- diff --git a/src/diagnostics.rs b/src/diagnostics.rs index c46ff5354de..1008c046846 100644 --- a/src/diagnostics.rs +++ b/src/diagnostics.rs @@ -58,7 +58,7 @@ pub fn report_error<'tcx, 'mir>( }; let help = match e.kind { Unsupported(UnsupportedOpInfo::NoMirFor(..)) => - Some("set `MIRI_SYSROOT` to a Miri sysroot, which you can prepare with `cargo miri setup`"), + Some("make sure to use a Miri sysroot, which you can prepare with `cargo miri setup`"), Unsupported(_) => Some("this is likely not a bug in the program; it indicates that the program performed an operation that the interpreter does not support"), UndefinedBehavior(UndefinedBehaviorInfo::UbExperimental(_)) =>