about summary refs log tree commit diff
path: root/src/test/run-pass/thinlto
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-06-07 07:52:12 +0000
committerbors <bors@rust-lang.org>2017-06-07 07:52:12 +0000
commit89fceaa5b09792efb1ef3ab872f6e351f351f0f2 (patch)
treee9272fbb57f4f754bb5ad73017c474d863d4f168 /src/test/run-pass/thinlto
parentf73f675a864e966aedde79f8d2a8c821128e6b10 (diff)
parentb02e3a165c4f6b7bc3d2158cef2cb46f5b91e14a (diff)
downloadrust-89fceaa5b09792efb1ef3ab872f6e351f351f0f2.tar.gz
rust-89fceaa5b09792efb1ef3ab872f6e351f351f0f2.zip
Auto merge of #42480 - eddyb:issue-42463, r=nikomatsakis
rustc_typeck: do not overlap a borrow of TypeckTables with method lookup.

If trait selection is reached, it could potentially request a closure signature, which will have to borrow the `TypeckTables` of the current function, and so those tables *should not* be mutably borrowed.

Fixes #42463.
r? @nikomatsakis
Diffstat (limited to 'src/test/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions