-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Regression in macro error spans #33884
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
Comments
This was caused by #33712. |
Noticing the same issue with src/test/compile-fail/bad-format-args.rs |
Current output is back to what it was before: error[E0308]: mismatched types
--> <anon>:6:22
|
6 | stream.write_fmt(format!("message received"))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::fmt::Arguments`, found struct `std::string::String`
|
= note: expected type `std::fmt::Arguments<'_>`
found type `std::string::String`
= note: this error originates in a macro outside of the current crate |
@estebank is there a regression test? if so, shall we close this issue? |
estebank
added a commit
to estebank/rust
that referenced
this issue
Apr 21, 2017
frewsxcv
added a commit
to frewsxcv/rust
that referenced
this issue
Apr 21, 2017
Add test for issue 33884 Fix rust-lang#33884. r=nikomatsakis
frewsxcv
added a commit
to frewsxcv/rust
that referenced
this issue
Apr 22, 2017
Add test for issue 33884 Fix rust-lang#33884. r=nikomatsakis
frewsxcv
added a commit
to frewsxcv/rust
that referenced
this issue
Apr 22, 2017
Add test for issue 33884 Fix rust-lang#33884. r=nikomatsakis
frewsxcv
added a commit
to frewsxcv/rust
that referenced
this issue
Apr 22, 2017
Add test for issue 33884 Fix rust-lang#33884. r=nikomatsakis
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm seeing a regression in error spans for this use case:
On 5-19-2016, the error span looks okay:
On 5-20-2016, the error span became less helpful:
It's possible it's related to #33683 (cc @nikomatsakis and @sanxiyn) but I haven't done the full bisect.
The text was updated successfully, but these errors were encountered: