about summary refs log tree commit diff
path: root/src/test/ui/iterators/iter-sum-overflow-debug.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-10-13 07:32:38 +0000
committerbors <bors@rust-lang.org>2019-10-13 07:32:38 +0000
commit29b6e0f0a1d1a37f8dc729484a64e59bf0b9a0a3 (patch)
treeb8ba6dfcb88418db3dd9f5f1e93ada676fc7ce70 /src/test/ui/iterators/iter-sum-overflow-debug.rs
parent3da6836cc9fd654fa204fe7e113973f7b5b3e5f6 (diff)
parent19f26fafdd6e27847a155a2ba8854c8d4ff61597 (diff)
downloadrust-29b6e0f0a1d1a37f8dc729484a64e59bf0b9a0a3.tar.gz
rust-29b6e0f0a1d1a37f8dc729484a64e59bf0b9a0a3.zip
Auto merge of #65182 - anp:reify-shim, r=eddyb
Add `Instance::resolve_for_fn_ptr` (RFC 2091 #2/N)

Supercedes: https://github.com/rust-lang/rust/pull/65082
Depends on: https://github.com/rust-lang/rust/pull/65037
Tracking issue: https://github.com/rust-lang/rust/issues/47809
[RFC text](https://github.com/rust-lang/rfcs/blob/master/text/2091-inline-semantic.md)

steps taken:

* [x] add a `ReifyShim` that is similar to `VirtualShim` in behavior (see #54183)
* [x] add `ty::Instance::resolve_for_fn_ptr` (leave `ty::Instance::resolve_vtable` alone), migrate appropriate callers
* [x] `resolve_for_fn_ptr` returns the shim if calling a `#[track_caller]` function
Diffstat (limited to 'src/test/ui/iterators/iter-sum-overflow-debug.rs')
0 files changed, 0 insertions, 0 deletions