We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afba0fb commit 2224d2aCopy full SHA for 2224d2a
tests/test/numerics.rs
@@ -169,3 +169,19 @@ fn general_ty_kind_becomes_specific() {
169
}
170
171
172
+
173
+/// Integer and float type kinds can not be equated
174
+#[test]
175
+fn integers_are_not_floats() {
176
+ test! {
177
+ program {}
178
179
+ goal {
180
+ exists<int I, float F> {
181
+ I = F
182
+ }
183
+ } yields {
184
+ "No possible solution"
185
186
187
+}
0 commit comments