You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For some lints, the user experience would be greatly enhanced if we could report a span with multiple highlights. E.g. in a unicode lint, we currently report every matching unicode sequence within a string, which can be very verbose.
To reduce the clutter, it would be great if we could somehow advise rustc to report the string once, but highlight a given list of spans within the string. For example, this could look like:
For some lints, the user experience would be greatly enhanced if we could report a span with multiple highlights. E.g. in a unicode lint, we currently report every matching unicode sequence within a string, which can be very verbose.
To reduce the clutter, it would be great if we could somehow advise
rustc
to report the string once, but highlight a given list of spans within the string. For example, this could look like:Similarly, this feature could be used with a good number of other error message to get more compact, readable output.
The text was updated successfully, but these errors were encountered: