File 0394-crypto-Remove-no_return.patch of Package erlang

From cd1f8e8c3632ec2b6117fe4b76ed229147cce0fb Mon Sep 17 00:00:00 2001
From: Hans Nilsson <hans@erlang.org>
Date: Thu, 4 Jun 2020 11:53:56 +0200
Subject: [PATCH] crypto: Remove no_return()

---
 lib/crypto/src/crypto.erl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/crypto/src/crypto.erl b/lib/crypto/src/crypto.erl
index dd60fbcaf9..093053d4d5 100644
--- a/lib/crypto/src/crypto.erl
+++ b/lib/crypto/src/crypto.erl
@@ -599,13 +599,13 @@
 %% Exceptions
 %%   error:badarg
 %%   error:notsup
--type run_time_error() :: no_return().
+-type run_time_error() :: any().
 
 %% Exceptions
 %%   error:{badarg,Reason::term()}
 %%   error:{notsup,Reason::term()}
 %%   error:{error,Reason::term()}
--type descriptive_error() :: no_return() .
+-type descriptive_error() :: any() .
 
 
 %%--------------------------------------------------------------------
-- 
2.26.2

openSUSE Build Service is sponsored by