diff options
| author | 许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com> | 2024-08-14 21:43:08 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-14 21:43:08 +0800 |
| commit | 049b3e549ebb4ba30584ea3cf3628151398b0699 (patch) | |
| tree | 6e0f784d5c1a74865ae54166884a8d33214d1fcc /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp | |
| parent | 59ad2aec492dbebc37f0166e3e8a317202f79097 (diff) | |
| parent | 1b6df71192db3e0d635754e3810def977e28092f (diff) | |
| download | rust-049b3e549ebb4ba30584ea3cf3628151398b0699.tar.gz rust-049b3e549ebb4ba30584ea3cf3628151398b0699.zip | |
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?
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
