-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Unhide unknown spans #103970
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
Unhide unknown spans #103970
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @estebank (or someone else) soon. Please see the contribution instructions for more information. |
cc @davidtwco, @compiler-errors, @JohnTitor, @estebank, @TaKO8Ki |
r? @davidtwco @bors r+ rollup |
…vidtwco Unhide unknown spans r? `@estebank`
compiler/rustc_trait_selection/src/traits/error_reporting/suggestions.rs
Outdated
Show resolved
Hide resolved
It will still be used in json, as seen by the ui test changes
9268133
to
df2adc4
Compare
I re-added the label, but avoid emitting it in case of dummy spans. |
Makes sense! Now I'm intrigued as to why some of those where DUMMY_SP to begin with, nothing I saw in the previous tests gave me the impression they'd be, but I'm ok with proactive checking. The whole diagnostics machinery should treat all spans as @bors r+ |
Yea... the idents should have spans, but I didn't quickly find anything so I opted for this instead. |
…tebank Unhide unknown spans r? `@estebank`
…tebank Unhide unknown spans r? ``@estebank``
Rollup of 7 pull requests Successful merges: - rust-lang#102049 (Add the `#[derive_const]` attribute) - rust-lang#103970 (Unhide unknown spans) - rust-lang#104206 (Remove `save_and_restore_in_snapshot_flag`, use `ObligationCtxt` more) - rust-lang#104214 (Emit error in `collecting_trait_impl_trait_tys` on mismatched signatures) - rust-lang#104267 (rustdoc: use checkbox instead of switch for settings toggles) - rust-lang#104302 (Update cargo) - rust-lang#104303 (UI tests can be assigned to T-compiler) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
r? @estebank