Skip to content

Commit ce8facd

Browse files
committed
describe -Zmir-include-spans more accurately
1 parent 96f49eb commit ce8facd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

compiler/rustc_session/src/options.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1833,7 +1833,8 @@ options! {
18331833
enable unsound (known-buggy and hence usually disabled) passes without further warning! \
18341834
Passes that are not specified are enabled or disabled by other flags as usual."),
18351835
mir_include_spans: Option<bool> = (None, parse_opt_bool, [UNTRACKED],
1836-
"use line numbers relative to the function in mir pretty printing"),
1836+
"include extra comments in mir pretty printing, like line numbers and statement indices, \
1837+
details about types, etc. (default: no)"),
18371838
mir_keep_place_mention: bool = (false, parse_bool, [TRACKED],
18381839
"keep place mention MIR statements, interpreted e.g., by miri; implies -Zmir-opt-level=0 \
18391840
(default: no)"),

0 commit comments

Comments
 (0)