rust/compiler/rustc_borrowck
许杰友 Jieyou Xu (Joe) 2200910659
Rollup merge of #129059 - compiler-errors:subtyping-correct-type, r=lcnr
Record the correct target type when coercing fn items/closures to pointers

Self-explanatory. We were previously not recording the *target* type of a coercion as the output of an adjustment. This should remedy that.

We must also modify the function pointer casts in MIR typeck to use subtyping, since those broke since #118247.

r? lcnr
2024-08-14 21:43:08 +08:00
..
src Rollup merge of #129059 - compiler-errors:subtyping-correct-type, r=lcnr 2024-08-14 21:43:08 +08:00
Cargo.toml bump itertools to 0.12 2024-03-08 12:34:05 +03:00
messages.ftl rustc_borrowck: make "implicit static" suff translatable 2024-08-10 14:32:55 +03:00