diff options
Diffstat (limited to 'src/librustc/ty/flags.rs')
| -rw-r--r-- | src/librustc/ty/flags.rs | 4 |
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: _ } => { } } } |
