Skip to content

Commit

Permalink
Merge pull request #277 from dtolnay/nightlyci
Browse files Browse the repository at this point in the history
Make CI verify that error_generic_member_access works in latest nightly
  • Loading branch information
dtolnay committed Dec 31, 2023
2 parents fe40a50 + 48cea47 commit e0500ad
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 e0500ad

Please sign in to comment.