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 c56bf91 + f7c3186 commit 0770c8e
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 0770c8e

Please sign in to comment.