mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +00:00
2b4c581ef9
Add support to intrinsics fallback body Before this fix, the call to `body()` would crash, since `has_body()` would return true, but we would try to retrieve the body of an intrinsic which is not allowed. Instead, the `Instance::body()` function will now convert an Intrinsic into an Item before retrieving its body. Note: I also changed how we monomorphize the instance body. Unfortunately, the call still ICE for some shims. r? `@oli-obk` |
||
---|---|---|
.. | ||
src | ||
.gitignore | ||
Cargo.toml |