rust/tests/ui/unsafe-binders
许杰友 Jieyou Xu (Joe) 9f93c48ddc
Rollup merge of #141433 - compiler-errors:unsafe-binder-captures, r=oli-obk
Properly analyze captures from unsafe binders

We need to represent the unsafe binder unwrap as an adjustment in HIR. Pretty straightforward b/c we already represent it as a projection elem in MIR.

Fixes #141418
Fixes #141417

r? oli-obk
2025-05-27 01:29:18 +08:00
..
binder-sized-crit.rs Fix sized constraint for unsafe binder 2025-02-28 03:17:36 +00:00
binder-sized-crit.stderr Fix sized constraint for unsafe binder 2025-02-28 03:17:36 +00:00
cat-projection.rs Properly analyze captures from unsafe binders 2025-05-23 10:43:13 +00:00
expr.rs Implement MIR, CTFE, and codegen for unsafe binders 2025-01-31 17:19:53 +00:00
expr.stderr Implement MIR, CTFE, and codegen for unsafe binders 2025-01-31 17:19:53 +00:00
lifetime-resolution.rs UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03:00
lifetime-resolution.stderr
mismatch.rs Implement MIR, CTFE, and codegen for unsafe binders 2025-01-31 17:19:53 +00:00
mismatch.stderr Implement MIR, CTFE, and codegen for unsafe binders 2025-01-31 17:19:53 +00:00
moves.rs Use BikeshedGuaranteedNotDrop in unsafe binder type WF too 2025-02-13 03:45:07 +00:00
moves.stderr Use BikeshedGuaranteedNotDrop in unsafe binder type WF too 2025-02-13 03:45:07 +00:00
non-strucutral-type-diag.rs Dont walk into unsafe binders when emiting error for non-structural type match 2025-05-23 10:10:50 +00:00
non-strucutral-type-diag.stderr Dont walk into unsafe binders when emiting error for non-structural type match 2025-05-23 10:10:50 +00:00
simple.rs
simple.stderr
type-mismatch.rs Fix pretty printing of unsafe binders 2025-03-03 01:34:09 +00:00
type-mismatch.stderr Fix pretty printing of unsafe binders 2025-03-03 01:34:09 +00:00