Skip to content

Indentation broken in error reporting #21360

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

Closed
mahkoh opened this issue Jan 18, 2015 · 3 comments
Closed

Indentation broken in error reporting #21360

mahkoh opened this issue Jan 18, 2015 · 3 comments
Labels
A-diagnostics Area: Messages for errors, warnings, and lints

Comments

@mahkoh
Copy link
Contributor

mahkoh commented Jan 18, 2015

fn main() {
    let mut x = 1us;
    let y = &x;
    &mut x;





}
test2.rs:10:2: 10:2 note: previous borrow ends here
test2.rs:1 fn main() {
...
test2.rs:10 }
            ^
@kmcallister
Copy link
Contributor

Is the issue here the varying width of the line number? It'd be useful if you could give more information with your bug reports than "Foo is broken" and a block of code.

@kmcallister kmcallister added the A-diagnostics Area: Messages for errors, warnings, and lints label Jan 18, 2015
@ktt3ja
Copy link
Contributor

ktt3ja commented Feb 4, 2015

It's duplicate of #11715

@steveklabnik
Copy link
Member

yes, thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-diagnostics Area: Messages for errors, warnings, and lints
Projects
None yet
Development

No branches or pull requests

4 participants