-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Tiny difference of the diagnostics for generator on some environment #71222
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
|
Yeah, other places look like:
Perhaps we emit |
@JohnTitor that makes me think that we probably have some |
The relevant code is: rust/src/librustc_trait_selection/traits/error_reporting/suggestions.rs Lines 1633 to 1648 in ce93331
I don't find any difference between here and similar places yet. @estebank thoughts? |
@JohnTitor the place to look at is: rust/src/librustc_middle/ty/print/pretty.rs Lines 622 to 654 in 2deb39d
CC @eddyb The same applies to closures, but we are likely not displaying them this way anywhere (or we've just gotten lucky). |
Follow-up of #71182
Consider this example: #67893 (comment)
It emits the stderr on my local (x86_64-unknown-linux-gnu):
But on some other environment on CI, e.g.
dist-i586-gnu-i586-i686-musl
orLinux test-various
, it emits it with a tiny difference:It's ideal to have the same diagnostics on all the environment.
See also:
The text was updated successfully, but these errors were encountered: