diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index cb1be3ad6..e2e647a32 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -338,6 +338,8 @@ internals::impl_from_infallible!(Error); ``` +All errors that live in an `error` module (eg, `foo/error.rs`) and appear in a public function in +`foo` module should be available from `foo` i.e., should be re-exported from `foo/mod.rs`. #### Rustdocs