Skip to content

Commit e74f50e

Browse files
committed
Add unstable option new_rpitit to be used for new RPITIT lowering system
1 parent 5295de1 commit e74f50e

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

compiler/rustc_session/src/options.rs

+3
Original file line numberDiff line numberDiff line change
@@ -1503,6 +1503,9 @@ options! {
15031503
"what location details should be tracked when using caller_location, either \
15041504
`none`, or a comma separated list of location details, for which \
15051505
valid options are `file`, `line`, and `column` (default: `file,line,column`)"),
1506+
lower_impl_trait_in_trait_to_assoc_ty: bool = (false, parse_bool, [TRACKED],
1507+
"modify the lowering strategy for `impl Trait` in traits so that they are lowered to \
1508+
generic associated types"),
15061509
ls: bool = (false, parse_bool, [UNTRACKED],
15071510
"list the symbols defined by a library crate (default: no)"),
15081511
macro_backtrace: bool = (false, parse_bool, [UNTRACKED],

tests/rustdoc-ui/z-help.stdout

+1
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@
8787
-Z llvm-plugins=val -- a list LLVM plugins to enable (space separated)
8888
-Z llvm-time-trace=val -- generate JSON tracing data file from LLVM data (default: no)
8989
-Z location-detail=val -- 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`)
90+
-Z lower-impl-trait-in-trait-to-assoc-ty=val -- modify the lowering strategy for `impl Trait` in traits so that they are lowered to generic associated types
9091
-Z ls=val -- list the symbols defined by a library crate (default: no)
9192
-Z macro-backtrace=val -- show macro backtraces (default: no)
9293
-Z maximal-hir-to-mir-coverage=val -- save as much information as possible about the correspondence between MIR and HIR as source scopes (default: no)

0 commit comments

Comments
 (0)