Skip to content
Snippets Groups Projects
Commit 2acf3e5f authored by Georges Racinet's avatar Georges Racinet
Browse files

RHGitaly: bumped MSRV to 1.65

Rust 1.65 is currently the version generally available in GitLab
context (upstream usage appeared recently) and it is also able
to build tokei 12.1.2, whereas 1.61 cannot.

This leads up to fix the following Clippy error (not in 1.61):
"you are deriving `PartialEq` and can implement `Eq`".
parent 15b57687
No related branches found
No related tags found
2 merge requests!186Merging stable branch into default,!182RHGITALY: MSRV 1.65
Pipeline #69957 passed
# MSRV is as Mercurial's, defined as the version in Debian testing
# (currrently bookworm)
msrv = "1.61"
msrv = "1.65"
......@@ -60,9 +60,9 @@
///
/// This means that it must be clear from context in code handling `TypedRef`s what
/// their type is suppposed to be.
#[derive(Debug, Clone, PartialEq)]
#[derive(Debug, Clone, PartialEq, Eq)]
pub struct TypedRef {
pub name: Vec<u8>,
pub target_sha: Vec<u8>,
}
......@@ -64,9 +64,9 @@
pub struct TypedRef {
pub name: Vec<u8>,
pub target_sha: Vec<u8>,
}
#[derive(Debug, Clone, PartialEq, derive_more::From)]
#[derive(Debug, Clone, PartialEq, Eq, derive_more::From)]
/// Express that a line does not follow the expected file format
///
/// Absence of this error does not mean that the line components are themselves valid.
......
......@@ -17,7 +17,7 @@
use prost_types::Timestamp;
use std::str::FromStr;
#[derive(Debug, PartialEq)]
#[derive(Debug, PartialEq, Eq)]
pub enum TimeStampParseError {
Empty,
MissingTimeZone,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment