mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-02 04:08:10 +00:00
Make "long type" printing type aware and trim types in E0275 Instead of simple string cutting, use a custom printer to hide parts of long printed types. On E0275, check for type length before printing.
For more information about how rustc works, see the rustc dev guide.