rust/tests
Matthias Krüger a87dda3b3d
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
2023-08-09 23:00:00 +02:00
..
assembly
auxiliary
codegen Rollup merge of #114562 - Trolldemorted:thiscall, r=oli-obk 2023-08-07 16:47:57 +02:00
codegen-units
debuginfo
incremental
mir-opt
pretty
run-coverage
run-coverage-rustdoc
run-make Auto merge of #114439 - Kobzol:remark-pgo-hotness, r=tmiasko 2023-08-08 15:41:44 +00:00
run-make-fulldeps
run-pass-valgrind
rustdoc
rustdoc-gui Migrate GUI colors test to original CSS color format 2023-08-08 20:31:03 +02:00
rustdoc-js
rustdoc-js-std
rustdoc-json rustdoc-json: Add tests for field/variant ordering. 2023-08-09 00:32:03 +00:00
rustdoc-ui
ui Rollup merge of #114670 - compiler-errors:issue-114660, r=cjgillot 2023-08-09 23:00:00 +02:00
ui-fulldeps
COMPILER_TESTS.md