Actually create ranged int types in the type system.
This commit is contained in:
@@ -684,6 +684,7 @@ fn try_write_constant<'tcx>(
|
||||
|
||||
// Unsupported for now.
|
||||
ty::Array(_, _)
|
||||
| ty::Pat(_, _)
|
||||
|
||||
// Do not attempt to support indirection in constants.
|
||||
| ty::Ref(..) | ty::RawPtr(..) | ty::FnPtr(..) | ty::Str | ty::Slice(_)
|
||||
|
||||
Reference in New Issue
Block a user