Fix a legacy_derive_helpers warning

This commit is contained in:
Yuki Okushi 2021-03-18 18:07:54 +09:00 committed by Caleb Cartwright
parent c3a5111106
commit ca4e9f47b9

View File

@ -66,8 +66,8 @@ pub(crate) struct ModResolver<'ast, 'sess> {
}
/// Represents errors while trying to resolve modules.
#[error("failed to resolve mod `{module}`: {kind}")]
#[derive(Debug, Error)]
#[error("failed to resolve mod `{module}`: {kind}")]
pub struct ModuleResolutionError {
pub(crate) module: String,
pub(crate) kind: ModuleResolutionErrorKind,