about summary refs log tree commit diff
path: root/src/libstd/sync
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-10-03 12:18:13 +0000
committerbors <bors@rust-lang.org>2017-10-03 12:18:13 +0000
commit8891044e89a22eeed1fcea957140072c26fcc62e (patch)
treea4ebadb887f4acce00ded573c1270e5604c3c7ea /src/libstd/sync
parent61bad301f136fb6f4cb543014ed02034007e4bd2 (diff)
parent11e141eba3d21fc8d7f9c406c85b44fe114e5a01 (diff)
downloadrust-8891044e89a22eeed1fcea957140072c26fcc62e.tar.gz
rust-8891044e89a22eeed1fcea957140072c26fcc62e.zip
Auto merge of #44896 - qmx:move-resolve-to-librustc, r=arielb1
Move monomorphize::resolve() to librustc

this moves `monomorphize::resolve(..)` to librustc, and re-enables inlining for some trait methods, fixing #44389

@nikomatsakis I've kept the calls to the new `ty::Instance::resolve(....)` always `.unwrap()`-ing for the moment, how/do you want to add more debugging info via `.unwrap_or()` or something like this?

we still have some related `resolve_*` functions on monomorphize, but I wasn't sure moving them was into the scope for this PR too.

@eddyb mind to take a look too?
Diffstat (limited to 'src/libstd/sync')
0 files changed, 0 insertions, 0 deletions