about summary refs log tree commit diff
path: root/compiler/rustc_interface/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-10-01 21:09:18 +0200
committerGitHub <noreply@github.com>2024-10-01 21:09:18 +0200
commit389a399a501a626ebf891ae0bb076c25e325ae64 (patch)
treed945e2ffa5c7aaddb5743597313551b37e88351e /compiler/rustc_interface/src
parent8dd5cd0bc1d683c30805e1dc831cac546b621a75 (diff)
parentf48194ea5578802c786edff59dd72388da0e6305 (diff)
downloadrust-389a399a501a626ebf891ae0bb076c25e325ae64.tar.gz
rust-389a399a501a626ebf891ae0bb076c25e325ae64.zip
Rollup merge of #130005 - davidlattimore:protected-vis-flag, r=Urgau
Replace -Z default-hidden-visibility with -Z default-visibility

Issue #105518
Diffstat (limited to 'compiler/rustc_interface/src')
-rw-r--r--compiler/rustc_interface/src/tests.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_interface/src/tests.rs b/compiler/rustc_interface/src/tests.rs
index 57aa3deae80..895897eca6b 100644
--- a/compiler/rustc_interface/src/tests.rs
+++ b/compiler/rustc_interface/src/tests.rs
@@ -770,7 +770,7 @@ fn test_unstable_options_tracking_hash() {
     tracked!(crate_attr, vec!["abc".to_string()]);
     tracked!(cross_crate_inline_threshold, InliningThreshold::Always);
     tracked!(debug_info_for_profiling, true);
-    tracked!(default_hidden_visibility, Some(true));
+    tracked!(default_visibility, Some(rustc_target::spec::SymbolVisibility::Hidden));
     tracked!(dep_info_omit_d_target, true);
     tracked!(direct_access_external_data, Some(true));
     tracked!(dual_proc_macros, true);