diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2020-06-11 13:15:53 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-11 13:15:53 +0200 |
| commit | 298467ee9a7fa1bbc93383c3a67ea569a6e7c22c (patch) | |
| tree | a8dc5451a4b50b0a62d05c8b03d3a8d5480e7b74 /src/rustllvm/RustWrapper.cpp | |
| parent | 3ddf48053e83f4949d00dcaf6eb8d9e28fc6bb95 (diff) | |
| parent | 6da17d244b08e5f14edd1645fbd07d1f042d00b7 (diff) | |
| download | rust-298467ee9a7fa1bbc93383c3a67ea569a6e7c22c.tar.gz rust-298467ee9a7fa1bbc93383c3a67ea569a6e7c22c.zip | |
Rollup merge of #72380 - lcnr:const_context, r=estebank
Fix `is_const_context`, update `check_for_cast` A better version of #71477 Adds `fn enclosing_body_owner` and uses it in `is_const_context`. `is_const_context` now uses the same mechanism as `mir_const_qualif` as it was previously incorrect. Renames `is_const_context` to `is_inside_const_context`. I also updated `check_for_cast` in the second commit, so r? @estebank (I removed one lvl of indentation, so it might be easier to review by hiding whitespace changes)
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
