rustc: Fix bug in equal_abi that was preventing Rust intrinsics from working
This commit is contained in:
parent
2131f2bb6b
commit
9a1f0977a2
1 changed files with 6 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue