We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1933e5a commit b383ea0Copy full SHA for b383ea0
src/lib.rs
@@ -568,6 +568,9 @@ fn derive_where_internal(mut item: DeriveInput) -> Result<TokenStream> {
568
Ok(output)
569
}
570
571
+/// Internally we re-direct the attribute macro to the derive macro. Unlike the
572
+/// attribute macro, the derive macro supports helper attributes and evaluates
573
+/// `cfg`s.
574
#[doc(hidden)]
575
#[proc_macro_derive(DeriveWhere, attributes(derive_where))]
576
#[cfg_attr(feature = "nightly", allow_internal_unstable(core_intrinsics))]
0 commit comments