about summary refs log tree commit diff
path: root/compiler/rustc_ast/src/util/case.rs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/rustc_ast/src/util/case.rs')
-rw-r--r--compiler/rustc_ast/src/util/case.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/compiler/rustc_ast/src/util/case.rs b/compiler/rustc_ast/src/util/case.rs
new file mode 100644
index 00000000000..1afd7dea740
--- /dev/null
+++ b/compiler/rustc_ast/src/util/case.rs
@@ -0,0 +1,6 @@
+/// Whatever to ignore case (`fn` vs `Fn` vs `FN`) or not. Used for recovering.
+#[derive(Copy, Clone, Debug, Eq, PartialEq)]
+pub enum Case {
+    Sensitive,
+    Insensitive,
+}