about summary refs log tree commit diff
path: root/compiler/rustc_session/src
diff options
context:
space:
mode:
authorMatthew Jasper <mjjasper1@gmail.com>2024-02-27 11:57:52 +0000
committerMatthew Jasper <mjjasper1@gmail.com>2024-04-03 08:50:12 +0000
commita277c901d95c5fcbb3dbd6608731eebb9e1a01ce (patch)
tree6537e75531ca8f2bb59e7cb6ae3903a6225be89f /compiler/rustc_session/src
parent76cf07d5df52c07c3cd4cfeea1ab32b1cfba71bf (diff)
downloadrust-a277c901d95c5fcbb3dbd6608731eebb9e1a01ce.tar.gz
rust-a277c901d95c5fcbb3dbd6608731eebb9e1a01ce.zip
Remove MIR unsafe check
This also remove safety information from MIR.
Diffstat (limited to 'compiler/rustc_session/src')
-rw-r--r--compiler/rustc_session/src/options.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/rustc_session/src/options.rs b/compiler/rustc_session/src/options.rs
index 6204f868385..a76eb6b06aa 100644
--- a/compiler/rustc_session/src/options.rs
+++ b/compiler/rustc_session/src/options.rs
@@ -1950,8 +1950,6 @@ written to standard error output)"),
     #[rustc_lint_opt_deny_field_access("use `Session::lto` instead of this field")]
     thinlto: Option<bool> = (None, parse_opt_bool, [TRACKED],
         "enable ThinLTO when possible"),
-    thir_unsafeck: bool = (true, parse_bool, [TRACKED],
-        "use the THIR unsafety checker (default: yes)"),
     /// We default to 1 here since we want to behave like
     /// a sequential compiler for now. This'll likely be adjusted
     /// in the future. Note that -Zthreads=0 is the way to get