Skip to content

Commit 9d3c295

Browse files
JohnTitorcalebcartwright
authored andcommitted
Fix a legacy_derive_helpers warning
1 parent 05590f7 commit 9d3c295

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/formatting/modules.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ pub(crate) struct ModResolver<'ast, 'sess> {
120120
}
121121

122122
/// Represents errors while trying to resolve modules.
123-
#[error("failed to resolve mod `{module}`: {kind}")]
124123
#[derive(Debug, Error)]
124+
#[error("failed to resolve mod `{module}`: {kind}")]
125125
pub struct ModuleResolutionError {
126126
pub(crate) module: String,
127127
pub(crate) kind: ModuleResolutionErrorKind,

0 commit comments

Comments
 (0)