mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2026-04-14 21:20:10 +00:00
Fix hir-ty clippy issue
I am not familiar with this code at allso just doing what I can to unblock.
This commit is contained in:
@@ -55,6 +55,13 @@ impl ObligationCause {
|
||||
}
|
||||
}
|
||||
|
||||
impl Default for ObligationCause {
|
||||
#[inline]
|
||||
fn default() -> Self {
|
||||
Self::new()
|
||||
}
|
||||
}
|
||||
|
||||
/// An `Obligation` represents some trait reference (e.g., `i32: Eq`) for
|
||||
/// which the "impl_source" must be found. The process of finding an "impl_source" is
|
||||
/// called "resolving" the `Obligation`. This process consists of
|
||||
|
||||
Reference in New Issue
Block a user