doc: hide spec_error module (#3376)

The `spec_error` module implements the autoref specialization hack that's used in a single place in the derive macros. It wasn't meant to be a public API.

Given how arcane it must appear, I doubt anyone's tried using it outside of this project anyway.
This commit is contained in:
Austin Bonander 2024-07-25 03:13:02 -07:00 committed by GitHub
parent f2fea27cba
commit 1e526a2bbf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -87,6 +87,7 @@ mod macros;
pub mod ty_match; pub mod ty_match;
#[cfg(feature = "macros")] #[cfg(feature = "macros")]
#[doc(hidden)]
pub mod spec_error; pub mod spec_error;
#[doc(hidden)] #[doc(hidden)]