diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-08-09 23:00:00 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-09 23:00:00 +0200 |
| commit | a87dda3b3d3b3716c44e1b96014b006451b33ac5 (patch) | |
| tree | ab55ee4601389379f47df0f0e7741fc6e990ddb5 /compiler/rustc_codegen_gcc/src/errors.rs | |
| parent | bbc1109b795c03c70a092eabe9e43e1c2b8af23c (diff) | |
| parent | d8e3986d4214612ce7992da2b9b3269785e3ea40 (diff) | |
| download | rust-a87dda3b3d3b3716c44e1b96014b006451b33ac5.tar.gz rust-a87dda3b3d3b3716c44e1b96014b006451b33ac5.zip | |
Rollup merge of #114670 - compiler-errors:issue-114660, r=cjgillot
Don't use `type_of` to determine if item has intrinsic shim When we're calling `resolve_instance` on an inline const, we were previously looking at the `type_of` for that const, seeing that it was an `extern "intrinsic"` fn def, and treating it as if we were computing the instance of that intrinsic itself. This is incorrect. Instead, we should be using the def-id of the item we're computing to determine if it's an intrinsic. Fixes #114660
Diffstat (limited to 'compiler/rustc_codegen_gcc/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
