Actually create ranged int types in the type system.
This commit is contained in:
parent
6b24a9cf70
commit
84acfe86de
97 changed files with 1208 additions and 77 deletions
|
@ -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(_)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue