Skip to content

Commit

Permalink
error-in-core is stabilized in 1.81 (nightly)
Browse files Browse the repository at this point in the history
Allow the library to continue to enable the feature even though it's
inert, allowing people to continue using this version of SNAFU with
older nightly versions.
  • Loading branch information
shepmaster committed Jul 8, 2024
1 parent 59be37d commit 3335331
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion compatibility-tests/provider-api/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#![cfg(test)]
#![feature(error_generic_member_access, error_in_core)]
#![feature(error_generic_member_access)]

use snafu::{prelude::*, Backtrace, IntoError};

Expand Down
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#![deny(missing_docs)]
#![allow(stable_features)]
#![cfg_attr(not(any(feature = "std", test)), no_std)]
#![cfg_attr(feature = "unstable-core-error", feature(error_in_core))]
#![cfg_attr(
Expand Down

0 comments on commit 3335331

Please sign in to comment.