Skip to content

Commit

Permalink
Fix build warning (rustc 1.77)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbillig committed Mar 28, 2024
1 parent b130adb commit 5f58e1e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/hir-analysis/src/ty/def_analysis.rs
Original file line number Diff line number Diff line change
Expand Up @@ -884,6 +884,7 @@ fn analyze_trait_ref(
}
}

#[allow(dead_code)]
#[derive(Clone, Copy, Debug, derive_more::From)]
enum DefKind {
Adt(AdtDef),
Expand Down

0 comments on commit 5f58e1e

Please sign in to comment.