From 70aa4091e083c6a3d999425b822b03bc0feec2ac Mon Sep 17 00:00:00 2001 From: chyyran Date: Sun, 23 Apr 2023 00:13:39 -0400 Subject: [PATCH] build: fix nightly flag --- librashader-presets/src/parse/token.rs | 2 +- librashader-reflect/src/lib.rs | 1 + librashader-runtime-gl/src/lib.rs | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/librashader-presets/src/parse/token.rs b/librashader-presets/src/parse/token.rs index fbe91bb..ab2dfab 100644 --- a/librashader-presets/src/parse/token.rs +++ b/librashader-presets/src/parse/token.rs @@ -9,7 +9,7 @@ use nom::combinator::{eof, map_res, value}; use nom::error::{ErrorKind, ParseError}; use nom::sequence::delimited; -use nom::{bytes::complete::tag, character::complete::multispace0, IResult, InputIter, InputLength, InputTake, Parser, Slice, AsChar}; +use nom::{bytes::complete::tag, character::complete::multispace0, IResult, InputIter, InputLength, InputTake, Slice, AsChar}; #[derive(Debug)] pub struct Token<'a> { diff --git a/librashader-reflect/src/lib.rs b/librashader-reflect/src/lib.rs index f0671b3..6aa2c69 100644 --- a/librashader-reflect/src/lib.rs +++ b/librashader-reflect/src/lib.rs @@ -46,6 +46,7 @@ //! In the meanwhile, the only supported compilation type is [GlslangCompilation](crate::front::GlslangCompilation), //! which does transpilation via [shaderc](https://github.com/google/shaderc) and [SPIRV-Cross](https://github.com/KhronosGroup/SPIRV-Cross). #![feature(type_alias_impl_trait)] +#![feature(impl_trait_in_assoc_type)] #![feature(let_chains)] /// Shader codegen backends. diff --git a/librashader-runtime-gl/src/lib.rs b/librashader-runtime-gl/src/lib.rs index cc6a8fb..fae0565 100644 --- a/librashader-runtime-gl/src/lib.rs +++ b/librashader-runtime-gl/src/lib.rs @@ -6,7 +6,6 @@ #![feature(strict_provenance)] #![feature(type_alias_impl_trait)] #![feature(let_chains)] -#![feature(is_some_and)] mod binding; mod filter_chain;