Tracking Issue for improving suggestion rendering in diagnostics #141973
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-suggestion-diagnostics
Area: Suggestions generated by the compiler applied by `cargo fix`
C-tracking-issue
Category: An issue tracking the progress of sth. like the implementation of an RFC
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
WG-diagnostics
Working group: Diagnostics
Uh oh!
There was an error while loading. Please reload this page.
This is a tracking issue for the prioritizing "verbose" or "hidden" suggestions over "inline" (the default given by
span_suggestion
suggestions.Inline suggestions have several issues that make them less readable than verbose ones:
About tracking issues
Tracking issues are used to record the overall progress of implementation.
They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however not meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.
Discussion comments will get marked as off-topic or deleted.
Repeated discussions on the tracking issue may lead to the tracking issue getting locked.
Steps
span_suggestion
uses.span_suggestion_verbose
,span_suggestion_hidden
orspan_suggestion_tool_only
span_suggestion
tospan_suggestion_inline
andspan_suggestion_verbose
tospan_suggestion
Implementation history
extern crate foo
whenfoo
isn't resolved in import #128151!
#137435cfg
structured suggestion and make suggestion verbose #137773https://rust-lang.zulipchat.com/#narrow/channel/147480-t-compiler.2Fdiagnostics/topic/Why.20are.20we.20making.20suggestions.20verbose.3F
The text was updated successfully, but these errors were encountered: