mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
rust/pv: Fix 'elided_lifetimes_in_associated_constant' warning
Fixes "warning: `&` without an explicit lifetime name cannot be used here". This warning will become a hard error in "the future". For more information, see issue #115010 <https://github.com/rust-lang/rust/issues/115010> Closes: https://github.com/ibm-s390-linux/s390-tools/issues/162 Reviewed-by: Marc Hartmayer <mhartmay@linux.ibm.com> Signed-off-by: Steffen Eiden <seiden@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
9b51b8b882
commit
c70477f8c6
@@ -46,8 +46,8 @@ pub enum Error {
|
||||
// used in macros
|
||||
#[doc(hidden)]
|
||||
impl Error {
|
||||
pub const CRL: &str = "CRL";
|
||||
pub const CERT: &str = "certificate";
|
||||
pub const CRL: &'static str = "CRL";
|
||||
pub const CERT: &'static str = "certificate";
|
||||
}
|
||||
|
||||
/// Error cases for verifying host-key documents
|
||||
|
||||
Reference in New Issue
Block a user