about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/example/subslice-patterns-const-eval.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2021-11-23 19:28:12 +0100
committerGitHub <noreply@github.com>2021-11-23 19:28:12 +0100
commit3dc00111f2e24e5afef0234360e26acb58bb6e4f (patch)
tree45a294f5bb9f9fd3f4faaded44fb619eb316574c /compiler/rustc_codegen_gcc/example/subslice-patterns-const-eval.rs
parente52e3a4bb3efa4c75350ba11e99ebbc93a982768 (diff)
parentb490ccc22746375e154352466fb0d0deafb50194 (diff)
downloadrust-3dc00111f2e24e5afef0234360e26acb58bb6e4f.tar.gz
rust-3dc00111f2e24e5afef0234360e26acb58bb6e4f.zip
Rollup merge of #91153 - birkenfeld:kernel_copy_fallback, r=the8472
kernel_copy: avoid panic on unexpected OS error

According to documentation, the listed errnos should only occur
if the `copy_file_range` call cannot be made at all, so the
assert be correct.  However, since in practice file system
drivers (incl. FUSE etc.) can return any errno they want, we
should not panic here.

Fixes #91152
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/subslice-patterns-const-eval.rs')
0 files changed, 0 insertions, 0 deletions