Skip to content
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

Compiler debug print shows up in output #36543

Closed
solson opened this issue Sep 16, 2016 · 0 comments
Closed

Compiler debug print shows up in output #36543

solson opened this issue Sep 16, 2016 · 0 comments

Comments

@solson
Copy link
Member

solson commented Sep 16, 2016

See https://is.gd/FO2qVB.

Code:

fn foo<T>(_t: T) where for<'a> &'a T: for<'b> std::ops::Mul<&'b T, Output=T> {}

Compile output:

Span { lo: BytePos(38), hi: BytePos(76), expn_id: ExpnId(4294967295) }
error: nested quantification of lifetimes [E0316]
 --> <anon>:1:39
  |>
1 |> fn foo<T>(_t: T) where for<'a> &'a T: for<'b> std::ops::Mul<&'b T, Output=T> {}
  |>                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to previous error

Note the Span { ... }.

Manishearth added a commit to Manishearth/rust that referenced this issue Sep 17, 2016
Remove stray println! when invoking error E0316

Removed a wild println! statement that has been here for over a year and a half.

Closes rust-lang#36543
bors added a commit that referenced this issue Sep 19, 2016
Remove stray println! when invoking error E0316

Removed a wild println! statement that has been here for over a year and a half.

Closes #36543
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant