Proposal
Introduce a BreakTy associated type in TypeVisitor (which could default to ()) and change the visit_* methods to return ControlFlow<Visitor::BreakTy>.
Follow-up to #374 and rust-lang/rust#78182.
Mentors or Reviewers
@lcnr, @oli-obk
Process
The main points of the Major Change Process is as follows:
You can read more about Major Change Proposals on forge.
Comments
This issue is not meant to be used for technical discussion. There is a Zulip stream for that. Use this issue to leave procedural comments, such as volunteering to review, indicating that you second the proposal (or third, etc), or raising a concern that you would like to be addressed.
Proposal
Introduce a
BreakTyassociated type inTypeVisitor(which could default to()) and change thevisit_*methods to returnControlFlow<Visitor::BreakTy>.Follow-up to #374 and rust-lang/rust#78182.
Mentors or Reviewers
@lcnr, @oli-obk
Process
The main points of the Major Change Process is as follows:
@rustbot second.-C flag, then full team check-off is required.@rfcbot fcp mergeon either the MCP or the PR.You can read more about Major Change Proposals on forge.
Comments
This issue is not meant to be used for technical discussion. There is a Zulip stream for that. Use this issue to leave procedural comments, such as volunteering to review, indicating that you second the proposal (or third, etc), or raising a concern that you would like to be addressed.