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

View File

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