We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8369639 commit 3c8ba82Copy full SHA for 3c8ba82
crates/hir-ty/src/next_solver/infer/traits.rs
@@ -55,6 +55,13 @@ impl ObligationCause {
55
}
56
57
58
+impl Default for ObligationCause {
59
+ #[inline]
60
+ fn default() -> Self {
61
+ Self::new()
62
+ }
63
+}
64
+
65
/// An `Obligation` represents some trait reference (e.g., `i32: Eq`) for
66
/// which the "impl_source" must be found. The process of finding an "impl_source" is
67
/// called "resolving" the `Obligation`. This process consists of
0 commit comments