move err macro visitor out-of-line; reduce codegen
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
3962333043
commit
999d731a65
2 changed files with 40 additions and 35 deletions
src/core/error
|
@ -6,8 +6,7 @@ mod serde;
|
|||
|
||||
use std::{any::Any, borrow::Cow, convert::Infallible, fmt, sync::PoisonError};
|
||||
|
||||
pub use self::log::*;
|
||||
use crate::error;
|
||||
pub use self::{err::visit, log::*};
|
||||
|
||||
#[derive(thiserror::Error)]
|
||||
pub enum Error {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue