diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-30 03:57:31 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-30 03:57:31 +0000 |
commit | dc0db358abe19481e475e10c32149b53370f1a1c (patch) | |
tree | ab8ce99c4b255ce46f99ef402c27916055b899ee /vendor/io-lifetimes/src | |
parent | Releasing progress-linux version 1.71.1+dfsg1-2~progress7.99u1. (diff) | |
download | rustc-dc0db358abe19481e475e10c32149b53370f1a1c.tar.xz rustc-dc0db358abe19481e475e10c32149b53370f1a1c.zip |
Merging upstream version 1.72.1+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/io-lifetimes/src')
-rw-r--r-- | vendor/io-lifetimes/src/types.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vendor/io-lifetimes/src/types.rs b/vendor/io-lifetimes/src/types.rs index 8d640dc3b..a6f976c1b 100644 --- a/vendor/io-lifetimes/src/types.rs +++ b/vendor/io-lifetimes/src/types.rs @@ -169,7 +169,7 @@ impl BorrowedFd<'_> { // `OwnedFd` instances, so that we don't have to call `fcntl`. #[cfg(not(feature = "close"))] { - unreachable!("try_clone called without the \"close\" feature in io-lifetimes"); + unreachable!("try_clone_to_owned called without the \"close\" feature in io-lifetimes"); } } } @@ -224,7 +224,7 @@ impl BorrowedHandle<'_> { // `OwnedHandle` instances, so that we don't have to call `fcntl`. #[cfg(not(feature = "close"))] { - unreachable!("try_clone called without the \"close\" feature in io-lifetimes"); + unreachable!("try_clone_to_owned called without the \"close\" feature in io-lifetimes"); } } @@ -361,7 +361,7 @@ impl BorrowedSocket<'_> { // `OwnedSocket` instances, so that we don't have to call `fcntl`. #[cfg(not(feature = "close"))] { - unreachable!("try_clone called without the \"close\" feature in io-lifetimes"); + unreachable!("try_clone_to_owned called without the \"close\" feature in io-lifetimes"); } } } |