Bump the MSRV to 1.62 and using #[derive(Default)] on enums (#3304)

## Issue Addressed

N/A

## Proposed Changes

Since Rust 1.62, we can use `#[derive(Default)]` on enums.  

https://blog.rust-lang.org/2022/06/30/Rust-1.62.0.html#default-enum-variants

There are no changes to functionality in this PR, just replaced the `Default` trait implementation with `#[derive(Default)]`.
This commit is contained in:
Akihito Nakano
2022-07-15 07:31:19 +00:00
parent 1f54e10b7b
commit 98a9626ef5
8 changed files with 15 additions and 37 deletions

View File

@@ -1,4 +1,4 @@
FROM rust:1.58.1-bullseye AS builder
FROM rust:1.62.0-bullseye AS builder
RUN apt-get update && apt-get -y upgrade && apt-get install -y cmake libclang-dev
COPY . lighthouse
ARG FEATURES