Actually create ranged int types in the type system.
This commit is contained in:
@@ -363,6 +363,7 @@ impl<'tcx> EvalCtxt<'_, 'tcx> {
|
||||
| ty::Foreign(_)
|
||||
| ty::Str
|
||||
| ty::Array(_, _)
|
||||
| ty::Pat(_, _)
|
||||
| ty::Slice(_)
|
||||
| ty::RawPtr(_, _)
|
||||
| ty::Ref(_, _, _)
|
||||
@@ -596,6 +597,7 @@ impl<'tcx> EvalCtxt<'_, 'tcx> {
|
||||
| ty::Foreign(_)
|
||||
| ty::Str
|
||||
| ty::Array(_, _)
|
||||
| ty::Pat(_, _)
|
||||
| ty::Slice(_)
|
||||
| ty::RawPtr(_, _)
|
||||
| ty::Ref(_, _, _)
|
||||
@@ -684,6 +686,7 @@ impl<'tcx> EvalCtxt<'_, 'tcx> {
|
||||
| ty::Foreign(_)
|
||||
| ty::Str
|
||||
| ty::Array(_, _)
|
||||
| ty::Pat(_, _)
|
||||
| ty::Slice(_)
|
||||
| ty::RawPtr(_, _)
|
||||
| ty::Ref(_, _, _)
|
||||
|
||||
Reference in New Issue
Block a user