Actually create ranged int types in the type system.
This commit is contained in:
@@ -206,6 +206,11 @@ pub(crate) fn orphan_check_impl(
|
||||
(LocalImpl::Disallow { problematic_kind }, NonlocalImpl::DisallowOther)
|
||||
}
|
||||
|
||||
ty::Pat(..) => (
|
||||
LocalImpl::Disallow { problematic_kind: "pattern type" },
|
||||
NonlocalImpl::DisallowOther,
|
||||
),
|
||||
|
||||
ty::Bool
|
||||
| ty::Char
|
||||
| ty::Int(..)
|
||||
|
||||
Reference in New Issue
Block a user