about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-10-15 08:37:11 +0000
committerbors <bors@rust-lang.org>2022-10-15 08:37:11 +0000
commit50f192f86a12d4b39d8f7f061fbd8e0ba8007932 (patch)
treed527a401b8761b2fcf51c042499f2587e0162cba /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentb510557f892abcefcf9813dea79a74c69371e12f (diff)
parent4b8df8dc92c9e29ded57e1efa4d11d641e4b0ba7 (diff)
downloadrust-50f192f86a12d4b39d8f7f061fbd8e0ba8007932.tar.gz
rust-50f192f86a12d4b39d8f7f061fbd8e0ba8007932.zip
Auto merge of #9649 - Alexendoo:from-over-into-suggestion, r=llogiq
Add a suggestion and a note about orphan rules for `from_over_into`

Adds a machine applicable suggestion to convert the `Into` impl into a `From` one to `from_over_into`

Also adds a note explaining that `impl From<Local> for Foreign` is fine if the `Into` type is foreign

Closes #7444
Addresses half of #9638

changelog: [`from_over_into`] Add a suggestion and a note about orphan rules
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions