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 ed3a33f commit c5f83c4Copy full SHA for c5f83c4
rust/ql/src/queries/diagnostics/TypeInferenceConsistencyCounts.ql
@@ -0,0 +1,14 @@
1
+/**
2
+ * @name Type inference inconsistency counts
3
+ * @description Counts the number of type inference inconsistencies of each type. This query is intended for internal use.
4
+ * @kind diagnostic
5
+ * @id rust/diagnostics/type-inference-consistency-counts
6
+ */
7
+
8
+private import codeql.rust.internal.TypeInferenceConsistency as Consistency
9
10
+// see also `rust/diagnostics/type-inference-consistency`, which lists the
11
+// individual inconsistency results.
12
+from string type, int num
13
+where num = Consistency::getTypeInferenceInconsistencyCounts(type)
14
+select type, num
0 commit comments