about summary refs log tree commit diff
path: root/compiler
diff options
context:
space:
mode:
authorSantiago Pastorino <spastorino@gmail.com>2023-02-28 13:05:08 -0300
committerSantiago Pastorino <spastorino@gmail.com>2023-03-01 12:56:39 -0300
commite74f50ecc217a4848ce77bed7ba580fbed0edb6b (patch)
treeff5da567ed8b6527aea06d6da70d31f75e8ac119 /compiler
parent5295de1694c07fe47db112468a08098f930fcf53 (diff)
downloadrust-e74f50ecc217a4848ce77bed7ba580fbed0edb6b.tar.gz
rust-e74f50ecc217a4848ce77bed7ba580fbed0edb6b.zip
Add unstable option new_rpitit to be used for new RPITIT lowering system
Diffstat (limited to 'compiler')
-rw-r--r--compiler/rustc_session/src/options.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/rustc_session/src/options.rs b/compiler/rustc_session/src/options.rs
index 4beac931632..b466a3fcdee 100644
--- a/compiler/rustc_session/src/options.rs
+++ b/compiler/rustc_session/src/options.rs
@@ -1503,6 +1503,9 @@ options! {
         "what location details should be tracked when using caller_location, either \
         `none`, or a comma separated list of location details, for which \
         valid options are `file`, `line`, and `column` (default: `file,line,column`)"),
+    lower_impl_trait_in_trait_to_assoc_ty: bool = (false, parse_bool, [TRACKED],
+        "modify the lowering strategy for `impl Trait` in traits so that they are lowered to \
+        generic associated types"),
     ls: bool = (false, parse_bool, [UNTRACKED],
         "list the symbols defined by a library crate (default: no)"),
     macro_backtrace: bool = (false, parse_bool, [UNTRACKED],