Skip to content

Commit

Permalink
add feature error_in_core
Browse files Browse the repository at this point in the history
  • Loading branch information
chzyer committed Oct 4, 2024
1 parent e779e1b commit 897b5a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@
)]
#![cfg_attr(error_generic_member_access, feature(error_generic_member_access))]
#![cfg_attr(not(feature = "std"), no_std)]
#![feature(error_in_core)]

#[cfg(all(thiserror_nightly_testing, not(error_generic_member_access)))]
compile_error!("Build script probe failed to compile.");
Expand Down

0 comments on commit 897b5a5

Please sign in to comment.