许杰友 Jieyou Xu (Joe) 049b3e549e
Rollup merge of #128954 - zachs18:fromresidual-no-default, r=scottmcm
Explicitly specify type parameter on FromResidual for Option and ControlFlow.

~~Remove type parameter default `R = <Self as Try>::Residual` from `FromResidual`~~ _Specify default type parameter on `FromResidual` impls in the stdlib_ to work around https://github.com/rust-lang/rust/issues/99940 / https://github.com/rust-lang/rust/issues/87350 ~~as mentioned in https://github.com/rust-lang/rust/issues/84277#issuecomment-1773259264~~.

This does not completely fix the issue, but works around it for `Option` and `ControlFlow` specifically (`Result` does not have the issue since it already did not use the default parameter of `FromResidual`).

~~(Does this need an ACP or similar?)~~ ~~This probably needs at least an FCP since it changes the API described in [the RFC](https://github.com/rust-lang/rfcs/pull/3058). Not sure if T-lang, T-libs-api, T-libs, or some combination (The tracking issue is tagged T-lang, T-libs-api).~~ This probably doesn't need T-lang input, since it is not changing the API of `FromResidual` from the RFC? Maybe needs T-libs-api FCP?
2024-08-14 21:43:08 +08:00
..
2024-07-06 14:24:20 +02:00
2024-07-29 08:26:52 +10:00
2024-02-07 16:46:28 +01:00
2024-07-29 08:26:52 +10:00
2024-07-29 08:26:52 +10:00
2024-07-29 08:26:52 +10:00
2024-07-29 08:26:52 +10:00
2024-01-11 15:04:48 +03:00
2023-12-10 10:56:22 +08:00
2024-07-29 08:26:52 +10:00
2024-07-29 08:26:52 +10:00
2024-01-11 15:04:48 +03:00
2024-05-01 22:19:11 -04:00
2024-07-29 08:26:52 +10:00
2024-02-07 10:42:01 +08:00
2024-07-29 08:26:52 +10:00
2024-06-19 21:44:47 +01:00
2024-07-29 08:26:52 +10:00
2024-07-31 17:10:55 +08:00
2024-07-29 08:26:52 +10:00
2023-11-26 08:50:39 -05:00
2024-07-30 17:07:56 +01:00
2024-04-24 15:27:47 -07:00
2024-01-24 14:24:57 +01:00
2024-07-29 08:26:52 +10:00