We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
For this code,
use annotate_snippets::{Level, Renderer, Snippet}; fn main() { let message = Level::Error .title("mismatched types") .snippet( Snippet::source("abcd") .line_start(0) ); let renderer = Renderer::styled(); anstream::println!("{}", renderer.render(message)); }
Output
error: mismatched types | 0 |abcd
Output for when starting line is not 0
error: mismatched types | 1 | abcd
I would like to try to solve this issue if it needs to be fixed
The text was updated successfully, but these errors were encountered:
I believe this is a duplicate of #57 and closing in favor of that. If there is a reason for us to keep this open separately, let us know!
Sorry, something went wrong.
No branches or pull requests
For this code,
Output
Output for when starting line is not 0
I would like to try to solve this issue if it needs to be fixed
The text was updated successfully, but these errors were encountered: