about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-08-10 11:05:02 +0000
committerbors <bors@rust-lang.org>2022-08-10 11:05:02 +0000
commite70681f208403b7de148ba027a6d14603aeaa461 (patch)
tree57fa3f07261e37b84c40b04d985de1b123a0f99f /compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp
parentd79d9e1a2e0a15f821e15c07c57046b395ddea9c (diff)
parentffc6b42901fc1f64c812df571110e665de75da45 (diff)
downloadrust-e70681f208403b7de148ba027a6d14603aeaa461.tar.gz
rust-e70681f208403b7de148ba027a6d14603aeaa461.zip
Auto merge of #12992 - lowr:fix/type-inference-for-byte-string-pat, r=Veykril
fix: infer byte string pattern as `&[u8]` when matched against slices

Fixes #12630

c.f. [rustc_typeck](https://github.com/rust-lang/rust/blob/1603a70f82240ba2d27f72f964e36614d7620ad3/compiler/rustc_typeck/src/check/pat.rs#L388-L404)
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp')
0 files changed, 0 insertions, 0 deletions