From 111a56880f2f36d9dd627eff32d2bdee19f790d6 Mon Sep 17 00:00:00 2001 From: kageru Date: Mon, 22 Nov 2021 14:34:40 +0100 Subject: [PATCH] Make 2020 compile again --- 2020/src/bin/day03.rs | 1 - 2020/src/bin/day17.rs | 2 +- 2020/src/lib.rs | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/2020/src/bin/day03.rs b/2020/src/bin/day03.rs index cb0ad70..3de91d8 100644 --- a/2020/src/bin/day03.rs +++ b/2020/src/bin/day03.rs @@ -1,4 +1,3 @@ -#![feature(iter_map_while)] #![feature(test)] #![allow(clippy::ptr_arg)] extern crate test; diff --git a/2020/src/bin/day17.rs b/2020/src/bin/day17.rs index 700a421..780d063 100644 --- a/2020/src/bin/day17.rs +++ b/2020/src/bin/day17.rs @@ -1,5 +1,5 @@ #![allow(incomplete_features)] -#![feature(test, const_generics, const_evaluatable_checked)] +#![feature(test, generic_const_exprs)] extern crate test; use aoc2020::{ common::*, grid::{self, cell::Cell, *} diff --git a/2020/src/lib.rs b/2020/src/lib.rs index a0264e2..3d2f11f 100644 --- a/2020/src/lib.rs +++ b/2020/src/lib.rs @@ -1,5 +1,5 @@ #![allow(incomplete_features)] -#![feature(const_generics, const_evaluatable_checked, test)] +#![feature(generic_const_exprs, test)] pub mod common; pub mod grid; pub mod teststuff;