Skip to content

Commit 5a164e9

Browse files
committed
kill dead code
1 parent a3c427a commit 5a164e9

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

crates/formality-types/src/grammar/formulas.rs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -150,17 +150,6 @@ pub enum Relation {
150150
}
151151

152152
impl Relation {
153-
/// Capture a few trivial cases; we screen these out to cleanup the results
154-
/// from queries.
155-
pub fn is_trivially_true(&self) -> bool {
156-
match self {
157-
Relation::Equals(a, b) => a == b,
158-
Relation::Sub(a, b) => a == b,
159-
Relation::Outlives(a, b) => a == b,
160-
Relation::WellFormed(_) => false,
161-
}
162-
}
163-
164153
pub fn eq(p1: impl Upcast<Parameter>, p2: impl Upcast<Parameter>) -> Self {
165154
Self::Equals(p1.upcast(), p2.upcast())
166155
}

0 commit comments

Comments
 (0)