about summary refs log tree commit diff
path: root/compiler/rustc_session/src
diff options
context:
space:
mode:
authorJack Huey <31162821+jackh726@users.noreply.github.com>2024-01-16 18:39:00 -0500
committerJack Huey <31162821+jackh726@users.noreply.github.com>2024-01-17 21:27:34 -0500
commitacab76573fffe8a3c2578506f277a89ef772a05d (patch)
tree763d63e8c4f70ba68db0b7bea32198e1cfb16311 /compiler/rustc_session/src
parentd96003dd2a780ecb19252229b1927b1dc09f699b (diff)
downloadrust-acab76573fffe8a3c2578506f277a89ef772a05d.tar.gz
rust-acab76573fffe8a3c2578506f277a89ef772a05d.zip
Add -Zno-implied-bounds-compat option and use it
Diffstat (limited to 'compiler/rustc_session/src')
-rw-r--r--compiler/rustc_session/src/options.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_session/src/options.rs b/compiler/rustc_session/src/options.rs
index f4bf79f93f2..5bc88ae6ed1 100644
--- a/compiler/rustc_session/src/options.rs
+++ b/compiler/rustc_session/src/options.rs
@@ -1724,6 +1724,8 @@ options! {
         "run all passes except codegen; no output"),
     no_generate_arange_section: bool = (false, parse_no_flag, [TRACKED],
         "omit DWARF address ranges that give faster lookups"),
+    no_implied_bounds_compat: bool = (false, parse_bool, [TRACKED],
+        "disable the compatibility version of the `implied_bounds_ty` query"),
     no_jump_tables: bool = (false, parse_no_flag, [TRACKED],
         "disable the jump tables and lookup tables that can be generated from a switch case lowering"),
     no_leak_check: bool = (false, parse_no_flag, [UNTRACKED],