-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Beautiful printing for rustc --explain command #24771
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
So, I think it'd look best with the markdown rule of blank line + 4 space indent denotes a code block, same as ``` does, and that is a cleaner fallback when printing it to the terminal I feel. Does that make sense? |
You mean writing error explanation like this: blabla
blabla
`` `
code
code
`` `
blabla ? |
No, check it out, this is a code block
Source:
|
Here's the spec for it: http://daringfireball.net/projects/markdown/syntax#precode Technically, the ``` blocks are an extension to markdown, though they are pretty nice. It's easier to add in a plaintext editor, though the indent is easier in vim. |
Triage: I am not 100% sure what exactly is being proposed here; @jonathandturner has been working on a new error formatting RFC that may significantly modify |
This does not seem to be a concrete issue, so I'm not sure that we should keep it open. @GuillaumeGomez Could you maybe update the description with at least one or two things that we should do? |
I think there's no point keeping it open now. People are working on this and it's on the roadmap iirc. Let's close it then. |
I open this issue to allow people to follow this feature status and I'd also like to do it myself if no one is against it.
This issue was "proposed" in #24523.
The text was updated successfully, but these errors were encountered: