about summary refs log tree commit diff
path: root/tests/ui/async-await/async-unsafe-fn-call-in-safe.rs
AgeCommit message (Collapse)AuthorLines
2024-02-16[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives许杰友 Jieyou Xu (Joe)-1/+1
2024-01-05Stabilize THIR unsafeckMatthew Jasper-4/+4
2024-01-05Remove revisions for THIR unsafeckMatthew Jasper-10/+4
This is to make the diff when stabilizing it easier to review.
2023-10-16Fix inline const pattern unsafety checking in THIRMatthew Jasper-2/+6
THIR unsafety checking was getting a cycle of function unsafety checking -> building THIR for the function -> evaluating pattern inline constants in the function -> building MIR for the inline constant -> checking unsafety of functions (so that THIR can be stolen) This is fixed by not stealing THIR when generating MIR but instead when unsafety checking. This leaves an issue with pattern inline constants not being unsafety checked because they are evaluated away when generating THIR. To fix that we now represent inline constants in THIR patterns and visit them in THIR unsafety checking.
2023-01-11Move /src/test to /testsAlbert Larsan-0/+25