Skip to content

Conversation

danielhuang
Copy link

A long type path could look like long_type_path::long_type_path::long_type_path::long_type_path::long_type_path::long_type_path::long_type_path::long_type_path::long_type_path::long_type_path::Long which currently would not get formatted. This fix would break the path into multiple lines if necessary.

@danielhuang danielhuang force-pushed the fix-long-type-paths branch from 31ed77a to 352440c Compare March 8, 2025 23:51
@danielhuang
Copy link
Author

Does not fix #3863 (comment) yet.

@ytmimi
Copy link
Contributor

ytmimi commented Mar 11, 2025

I'm not sure how we should move forward here. I'm going to mark this one as blocked for now. If you could, please file an issue with team-style to see if they have any suggestions for defining rules on how to break long path names.

@ytmimi ytmimi added the blocked Blocked on rustc, an RFC, etc. label Mar 11, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
blocked Blocked on rustc, an RFC, etc. pr-not-reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants