Skip to content

Commit dd4fef0

Browse files
committed
fix outdated sysroot help message
1 parent 6dcca62 commit dd4fef0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diagnostics.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ pub fn report_error<'tcx, 'mir>(
5858
};
5959
let help = match e.kind {
6060
Unsupported(UnsupportedOpInfo::NoMirFor(..)) =>
61-
Some("set `MIRI_SYSROOT` to a Miri sysroot, which you can prepare with `cargo miri setup`"),
61+
Some("make sure to use a Miri sysroot, which you can prepare with `cargo miri setup`"),
6262
Unsupported(_) =>
6363
Some("this is likely not a bug in the program; it indicates that the program performed an operation that the interpreter does not support"),
6464
UndefinedBehavior(UndefinedBehaviorInfo::UbExperimental(_)) =>

0 commit comments

Comments
 (0)