Make CI verify that error_generic_member_access works in latest nightly

This commit is contained in:
David Tolnay 2023-12-30 18:31:42 -08:00
parent fe40a5034c
commit 48cea47164
No known key found for this signature in database
GPG key ID: F9BA143B95FF6D82

View file

@ -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)]