diff options
| author | bors <bors@rust-lang.org> | 2017-06-07 07:52:12 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-06-07 07:52:12 +0000 |
| commit | 89fceaa5b09792efb1ef3ab872f6e351f351f0f2 (patch) | |
| tree | e9272fbb57f4f754bb5ad73017c474d863d4f168 /src/test/run-pass/thinlto | |
| parent | f73f675a864e966aedde79f8d2a8c821128e6b10 (diff) | |
| parent | b02e3a165c4f6b7bc3d2158cef2cb46f5b91e14a (diff) | |
| download | rust-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
