Migrate rustc_codegen_gcc to SessionDiagnostics #101075
Migrate rustc_codegen_gcc to SessionDiagnostics #101075bors merged 16 commits intorust-lang:masterfrom
Conversation
|
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @nagisa (or someone else) soon. Please see the contribution instructions for more information. |
|
Some changes occurred in compiler/rustc_codegen_gcc cc @antoyo
cc @davidtwco, @compiler-errors, @JohnTitor, @estebank, @TaKO8Ki |
24a7f55 to
913350e
Compare
|
The diagnostics I'm missing come from I saw something similar in I also found some calls to https://github.com/rust-lang/rust/blob/913350ecaf6a0fc621c6c43f0764956e1c47cc15/compiler/rustc_codegen_gcc/src/intrinsic/simd.rs#L27-L30 These were not caught by |
I feel like
These should be translated, and ideally the lint would fire on them, I've added a link to this to #100717 so someone can go fix that. |
davidtwco
left a comment
There was a problem hiding this comment.
This is a great start, thanks!
6c8fa90 to
5765171
Compare
|
This is great progress, I'd like it if you could address the feedback from my earlier comment (#101075 (comment)) :) |
I tried to implement
I'm still working on this. I think I need to create a new function similar to |
If you share the code from your attempt then maybe we can work this out. |
This comment has been minimized.
This comment has been minimized.
655c3fa to
1e3d953
Compare
1e3d953 to
22dbcb0
Compare
This comment was marked as resolved.
This comment was marked as resolved.
|
Apologies for the delay in responding to this, replied to the pending comments now. |
22dbcb0 to
5c7e629
Compare
|
I've finally figured out the lifetime error. Thanks @davidtwco for all your help! I believe I've migrated all the diagnostics so this is ready for review! |
|
@bors r+ |
…ics, r=davidtwco Migrate rustc_codegen_gcc to SessionDiagnostics As part of rust-lang#100717 this pr migrates diagnostics to `SessionDiagnostics` for the `rustc_codegen_gcc` crate. `@rustbot` label +A-translation
…iaskrgr Rollup of 5 pull requests Successful merges: - rust-lang#101075 (Migrate rustc_codegen_gcc to SessionDiagnostics ) - rust-lang#102350 (Improve errors for incomplete functions in struct definitions) - rust-lang#102481 (rustdoc: remove unneeded CSS `.rust-example-rendered { position }`) - rust-lang#102491 (rustdoc: remove no-op source sidebar `opacity`) - rust-lang#102499 (Adjust the s390x data layout for LLVM 16) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
…ics, r=davidtwco Migrate rustc_codegen_gcc to SessionDiagnostics As part of rust-lang#100717 this pr migrates diagnostics to `SessionDiagnostics` for the `rustc_codegen_gcc` crate. ``@rustbot`` label +A-translation
As part of #100717 this pr migrates diagnostics to
SessionDiagnosticsfor therustc_codegen_gcccrate.@rustbot label +A-translation