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 2cfb920 + 3796cea commit 22caca9
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 22caca9

Please sign in to comment.