rustc: Fix bug in equal_abi that was preventing Rust intrinsics from working
This commit is contained in:
parent
2131f2bb6b
commit
9a1f0977a2
@ -1228,6 +1228,12 @@ fn equal_type_structures(&sty a, &sty b) -> bool {
|
||||
case (_) { ret false; }
|
||||
}
|
||||
}
|
||||
case (ast.native_abi_rust_intrinsic) {
|
||||
alt (b) {
|
||||
case (ast.native_abi_rust_intrinsic) { ret true; }
|
||||
case (_) { ret false; }
|
||||
}
|
||||
}
|
||||
case (ast.native_abi_cdecl) {
|
||||
alt (b) {
|
||||
case (ast.native_abi_cdecl) { ret true; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user