about summary refs log tree commit diff
path: root/compiler/rustc_interface/src
diff options
context:
space:
mode:
authorpierwill <pierwill@users.noreply.github.com>2021-10-31 17:05:48 -0500
committerpierwill <pierwill@users.noreply.github.com>2021-11-12 13:41:46 -0600
commit1642fdfea0ba60f4e142e5d767491ab7686cd13b (patch)
treee6af7668ee5150dcbbd05cbc4f510af1c4dac02f /compiler/rustc_interface/src
parent220ed09b26177ca4b6ab525f403d251024389a41 (diff)
downloadrust-1642fdfea0ba60f4e142e5d767491ab7686cd13b.tar.gz
rust-1642fdfea0ba60f4e142e5d767491ab7686cd13b.zip
Add `-Zassert-incr-state` to assert state of incremental cache
Diffstat (limited to 'compiler/rustc_interface/src')
-rw-r--r--compiler/rustc_interface/src/tests.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_interface/src/tests.rs b/compiler/rustc_interface/src/tests.rs
index eed2e07e890..10c049f0126 100644
--- a/compiler/rustc_interface/src/tests.rs
+++ b/compiler/rustc_interface/src/tests.rs
@@ -635,6 +635,7 @@ fn test_debugging_options_tracking_hash() {
 
     // Make sure that changing an [UNTRACKED] option leaves the hash unchanged.
     // This list is in alphabetical order.
+    untracked!(assert_incr_state, Some(String::from("loaded")));
     untracked!(ast_json, true);
     untracked!(ast_json_noexpand, true);
     untracked!(borrowck, String::from("other"));