rust/compiler/rustc_hir_analysis
Matthias Krüger e70adad70a
Rollup merge of #138042 - xizheyin:issue-135759, r=nnethercote
Suggest struct or union to add generic that impls trait

Fixes #135759

cc ```@tdittr```
2025-03-07 19:15:35 +01:00
..

For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.