about summary refs log tree commit diff
path: root/src/librustc/ty/flags.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/librustc/ty/flags.rs')
-rw-r--r--src/librustc/ty/flags.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/librustc/ty/flags.rs b/src/librustc/ty/flags.rs
index 4ff5e1a7b8d..d3a3f51cfa4 100644
--- a/src/librustc/ty/flags.rs
+++ b/src/librustc/ty/flags.rs
@@ -250,7 +250,9 @@ impl FlagComputation {
             ConstValue::Placeholder(_) => {
                 self.add_flags(TypeFlags::HAS_FREE_REGIONS | TypeFlags::HAS_CT_PLACEHOLDER);
             }
-            _ => {},
+            ConstValue::Scalar(_) => { }
+            ConstValue::Slice { data: _, start: _, end: _ } => { }
+            ConstValue::ByRef { alloc: _, offset: _ } => { }
         }
     }