Updated to rustc 1.67.0-nightly (215e3cd21 2022-11-03).

This commit is contained in:
Filipe Rodrigues 2022-11-20 06:59:24 +00:00
parent 873187de65
commit 982e214f59
4 changed files with 3 additions and 14 deletions

View File

@ -1,7 +1,7 @@
//! Egui
// Features
#![feature(never_type, let_chains)]
#![feature(never_type)]
// Imports
use {

View File

@ -13,7 +13,7 @@ pub fn load_image(path: &Path) -> Result<DynamicImage, anyhow::Error> {
let path = path.canonicalize().context("Unable to canonicalize path")?;
// Open the image
let image_file = fs::File::open(&path).context("Unable to open image file")?;
let image_file = fs::File::open(path).context("Unable to open image file")?;
let mut image_file = BufReader::new(image_file);
// Then guess it's format

View File

@ -1,15 +1,7 @@
//! Utility
// Features
#![feature(
decl_macro,
generator_trait,
generators,
mixed_integer_ops,
never_type,
generic_associated_types,
type_alias_impl_trait
)]
#![feature(decl_macro, generator_trait, generators, never_type, type_alias_impl_trait)]
// Modules
mod condvar_future;

View File

@ -8,14 +8,11 @@
inline_const,
stmt_expr_attributes,
try_trait_v2,
backtrace,
thread_id_value,
unwrap_infallible,
async_closure,
result_into_ok_or_err,
generators,
generator_trait,
mixed_integer_ops,
associated_type_bounds
)]