rust/compiler/rustc_mir_build/src
Yuki Okushi 345862d224
Rollup merge of #87645 - LeSeulArtichaut:issue-87414, r=oli-obk
Properly find owner of closure in THIR unsafeck

Previously, when encountering a closure in a constant, the THIR unsafeck gets invoked on the owner of the constant instead of the constant itself, producing cycles.
Supersedes #87492. ```@FabianWolff``` thanks for your work on that PR, I copied your test file and added you as a co-author.

Fixes #87414.
r? ```@oli-obk```
2021-08-03 19:07:43 +09:00
..
build Implement Mutation- and BorrowOfLayoutConstrainedField in thir-unsafeck 2021-07-10 16:33:00 +02:00
thir Auto merge of #86251 - Smittyvb:thir-tree-again, r=oli-obk 2021-07-28 09:01:11 +00:00
check_unsafety.rs Properly find owner of closure in THIR unsafeck 2021-07-30 19:05:34 +02:00
lib.rs Support -Z unpretty=thir-tree again 2021-07-24 17:18:15 -04:00
lints.rs Do not store attrs in FnKind. 2021-03-09 19:09:33 +01:00