File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
test/library-tests/type-inference/CONSISTENCY Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -774,8 +774,11 @@ private TypeItemNode resolveBuiltin(TypeRepr tr) {
774774 tr instanceof RefTypeRepr and
775775 result instanceof Builtins:: RefType
776776 or
777- tr instanceof PtrTypeRepr and
778- result instanceof Builtins:: PtrType
777+ tr .( PtrTypeRepr ) .isConst ( ) and
778+ result instanceof Builtins:: PtrConstType
779+ or
780+ tr .( PtrTypeRepr ) .isMut ( ) and
781+ result instanceof Builtins:: PtrMutType
779782 or
780783 result .( Builtins:: TupleType ) .getArity ( ) = tr .( TupleTypeRepr ) .getNumberOfFields ( )
781784}
Original file line number Diff line number Diff line change @@ -11,6 +11,3 @@ multipleCallTargets
1111| main.rs:2642:13:2642:31 | ...::from(...) |
1212| main.rs:2643:13:2643:31 | ...::from(...) |
1313| main.rs:2644:13:2644:31 | ...::from(...) |
14- multiplePathResolutions
15- | main.rs:1818:26:1818:33 | <...> |
16- | main.rs:1819:17:1819:26 | <...> |
You can’t perform that action at this time.
0 commit comments