about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-10-30 18:55:37 +0800
committerGitHub <noreply@github.com>2018-10-30 18:55:37 +0800
commit93f84e558681df7c160d4673f69a07978ca6f955 (patch)
tree155b922fd3bd98fc0e6c54203e135280425a030f /src/rustllvm/PassWrapper.cpp
parent50b8879bcfa77f8b615dcee9d48e3b5dacbf7fd0 (diff)
parent87ce5ec6e955849189887e56dfafc45e1293f63f (diff)
downloadrust-93f84e558681df7c160d4673f69a07978ca6f955.tar.gz
rust-93f84e558681df7c160d4673f69a07978ca6f955.zip
Rollup merge of #55494 - pnkfelix:issue-55492-borrowck-migrate-must-look-at-parents-of-closures, r=davidtwco
borrowck=migrate must look at parents of closures

This fixes the NLL migration mode (which is the default with edition=2018) to inspect all parents of a closure in addition to the closure itself when looking to see if AST-borrowck issues an error for the given code.

This should be a candidate for beta backport.

Fix #55492
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions