Skip to content

Commit

Permalink
Auto merge of #115012 - Zoxc:thir-check-root, r=cjgillot
Browse files Browse the repository at this point in the history
Ensure that THIR unsafety check is done before stealing it

This ensures that THIR unsafety check is done before stealing it by running it on the typeck root instead of on a closure, which does nothing.

Fixes rust-lang/rust#111520
  • Loading branch information
bors committed Aug 24, 2023
2 parents 03f999c + 5915823 commit 11e2b04
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 11e2b04

Please sign in to comment.