Skip to content

Commit 2d68efe

Browse files
committed
Add CLI test for -Zannotate-moves
1 parent 06baf13 commit 2d68efe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

compiler/rustc_interface/src/tests.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ use rustc_errors::emitter::HumanReadableErrorType;
1010
use rustc_errors::{ColorConfig, registry};
1111
use rustc_hir::attrs::NativeLibKind;
1212
use rustc_session::config::{
13-
AutoDiff, BranchProtection, CFGuard, Cfg, CollapseMacroDebuginfo, CoverageLevel,
13+
AnnotateMoves, AutoDiff, BranchProtection, CFGuard, Cfg, CollapseMacroDebuginfo, CoverageLevel,
1414
CoverageOptions, DebugInfo, DumpMonoStatsFormat, ErrorOutputType, ExternEntry, ExternLocation,
1515
Externs, FmtDebug, FunctionReturn, InliningThreshold, Input, InstrumentCoverage,
1616
InstrumentXRay, LinkSelfContained, LinkerPluginLto, LocationDetail, LtoCli, MirIncludeSpans,
@@ -764,6 +764,7 @@ fn test_unstable_options_tracking_hash() {
764764
// tidy-alphabetical-start
765765
tracked!(allow_features, Some(vec![String::from("lang_items")]));
766766
tracked!(always_encode_mir, true);
767+
tracked!(annotate_moves, AnnotateMoves::Enabled(Some(1234)));
767768
tracked!(assume_incomplete_release, true);
768769
tracked!(autodiff, vec![AutoDiff::Enable, AutoDiff::NoTT]);
769770
tracked!(binary_dep_depinfo, true);

0 commit comments

Comments
 (0)