Skip to content

Commit

Permalink
Make CI verify that error_generic_member_access works in latest nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Dec 31, 2023
1 parent fe40a50 commit 48cea47
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,9 @@
)]
#![cfg_attr(error_generic_member_access, feature(error_generic_member_access))]

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

mod aserror;
mod display;
#[cfg(error_generic_member_access)]
Expand Down

0 comments on commit 48cea47

Please sign in to comment.