rust/tests/ui-fulldeps/stable-mir
Celina G. Val 1bcd162465 Fix is_foreign_item for StableMIR instance
Change the implementation of `Instance::is_foreign_item` to directly
query the compiler for the instance `def_id` instead of incorrectly
relying on the conversion to `CrateItem`.

Background:

- In pull https://github.com/rust-lang/rust/pull/118524, I fixed the
  conversion from Instance to CrateItem to avoid the conversion if the
  instance didn't have a body available. This broke the `is_foreign_item`.
2023-12-06 10:48:18 -08:00
..
check_allocation.rs Add CrateDef trait and methods to get def names 2023-11-22 07:32:37 -08:00
check_defs.rs Add more information to stable Instance 2023-12-01 16:22:06 -08:00
check_instance.rs Fix is_foreign_item for StableMIR instance 2023-12-06 10:48:18 -08:00
compilation-result.rs Try to work around 32 bit mingw issues 2023-10-23 10:04:47 +00:00
crate-info.rs Add CrateDef trait and methods to get def names 2023-11-22 07:32:37 -08:00
projections.rs Add CrateDef trait and methods to get def names 2023-11-22 07:32:37 -08:00
smir_internal.rs Update Place and Operand to take slices 2023-10-26 00:21:28 +01:00
smir_visitor.rs Add place.ty() and Ty build from a kind to smir 2023-11-20 12:43:39 -08:00