about summary refs log tree commit diff
path: root/compiler/rustc_interface/src
diff options
context:
space:
mode:
authorJacob Pratt <jacob@jhpratt.dev>2025-01-06 22:04:15 -0500
committerGitHub <noreply@github.com>2025-01-06 22:04:15 -0500
commit8b54f951e56a4c0edfd724d3ca7700696f7abe78 (patch)
tree7706d712179afc587a00efe8ec6018ea9654d061 /compiler/rustc_interface/src
parent3deb5c289e6881014b1a22ba6c26bc0078b4b590 (diff)
parent304ccf45d15153b29c413a84334a9b4aaee23d53 (diff)
downloadrust-8b54f951e56a4c0edfd724d3ca7700696f7abe78.tar.gz
rust-8b54f951e56a4c0edfd724d3ca7700696f7abe78.zip
Rollup merge of #135090 - compiler-errors:invalid-tuple-ctor-projection, r=lqd,jieyouxu
Suggest to replace tuple constructor through projection

See the code example. when `Self::Assoc` normalizes to a struct that has a tuple constructor, you cannot construct the type via `Self::Assoc(field, field)`. Instead, suggest to replace it with the correct named struct.

Fixes #120871
Diffstat (limited to 'compiler/rustc_interface/src')
0 files changed, 0 insertions, 0 deletions