Migration of LintDiagnostic - part 3#153051
Conversation
|
Some changes occurred in compiler/rustc_passes/src/check_attr.rs cc @jdonszelmann, @JonathanBrouwer HIR ty lowering was modified cc @fmease Some changes occurred to MIR optimizations cc @rust-lang/wg-mir-opt Some changes occurred in exhaustiveness checking cc @Nadrieril Some changes occurred to the CTFE machinery |
|
|
This comment has been minimized.
This comment has been minimized.
compiler/rustc_trait_selection/src/error_reporting/traits/on_unimplemented_format.rs
Outdated
Show resolved
Hide resolved
|
@bors r+ rollup |
This comment has been minimized.
This comment has been minimized.
0b31e99 to
8fa1fca
Compare
|
Rebased. |
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
|
@bors r+ rollup |
…athanBrouwer Migration of `LintDiagnostic` - part 3 Follow-up of rust-lang#152933 and of rust-lang#153016. More `LintDiagnostic` items being migrated to `Diagnostic`. Since there is no remaining `emit_node_span_lint` calls, I replaced the method with the code of `emit_diag_node_span_lint`. r? @JonathanBrouwer
Rollup of 8 pull requests Successful merges: - #149169 (ptr::replace: make calls on ZST null ptr not UB) - #150562 (Fix doc link used in suggestion for pinning self) - #152679 (rustc_expand: improve diagnostics for non-repeatable metavars) - #153017 (Implement debuginfo for unsafe binder types) - #152868 (delete some very old trivial `Box` tests) - #152922 (rustc_public: Make fields that shouldn't be exposed visible only in `rustc_public`) - #153029 (Rename `rustc::pass_by_value` lint as `rustc::disallowed_pass_by_ref`.) - #153051 (Migration of `LintDiagnostic` - part 3)
Rollup of 12 pull requests Successful merges: - #149169 (ptr::replace: make calls on ZST null ptr not UB) - #150562 (Fix doc link used in suggestion for pinning self) - #152418 (`BTreeMap::merge` optimized) - #152679 (rustc_expand: improve diagnostics for non-repeatable metavars) - #152952 (mGCA: improve ogca diagnostic message ) - #152977 (Fix relative path handling for --extern-html-root-url) - #153017 (Implement debuginfo for unsafe binder types) - #152868 (delete some very old trivial `Box` tests) - #152922 (rustc_public: Make fields that shouldn't be exposed visible only in `rustc_public`) - #153032 (Fix attribute parser and kind names.) - #153051 (Migration of `LintDiagnostic` - part 3) - #153060 (Give a better error when updating a submodule fails)
Rollup merge of #153051 - GuillaumeGomez:migrate-diag, r=JonathanBrouwer Migration of `LintDiagnostic` - part 3 Follow-up of #152933 and of #153016. More `LintDiagnostic` items being migrated to `Diagnostic`. Since there is no remaining `emit_node_span_lint` calls, I replaced the method with the code of `emit_diag_node_span_lint`. r? @JonathanBrouwer
|
@rust-timer build 86e0932 For #153074. |
|
Missing artifact for sha |
|
@rust-timer build 8fa1fca |
|
Missing artifact for sha |
|
@rust-timer build 8fa1fca |
|
Missing artifact for sha |
|
Hum ok. |
|
@rust-timer build 86e0932 (86e0932 is the built commit from the rollup, which is the one we should be benchmarking) |
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (86e0932): comparison URL. Overall result: no relevant changes - no action neededBenchmarking this pull request means it may be perf-sensitive – we'll automatically label it not fit for rolling up. You can override this, but we strongly advise not to, due to possible changes in compiler perf. @bors rollup=never Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)Results (secondary -5.4%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary -3.1%, secondary -3.3%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 482.035s -> 482.3s (0.05%) |
…athanBrouwer Migration of `LintDiagnostic` - part 4 Follow-up of: * rust-lang#152933 * rust-lang#153016 * rust-lang#153051 More `LintDiagnostic` items being migrated to `Diagnostic`. Since there is no remaining `emit_node_span_lint` calls, I replaced the method with the code of `emit_diag_node_span_lint`. r? @JonathanBrouwer
…athanBrouwer Migration of `LintDiagnostic` - part 4 Follow-up of: * rust-lang#152933 * rust-lang#153016 * rust-lang#153051 More `LintDiagnostic` items being migrated to `Diagnostic`. Since there is no remaining `emit_node_span_lint` calls, I replaced the method with the code of `emit_diag_node_span_lint`. r? @JonathanBrouwer
Rollup merge of #153091 - GuillaumeGomez:migrate-diag, r=JonathanBrouwer Migration of `LintDiagnostic` - part 4 Follow-up of: * #152933 * #153016 * #153051 More `LintDiagnostic` items being migrated to `Diagnostic`. Since there is no remaining `emit_node_span_lint` calls, I replaced the method with the code of `emit_diag_node_span_lint`. r? @JonathanBrouwer
View all comments
Follow-up of #152933 and of #153016.
More
LintDiagnosticitems being migrated toDiagnostic. Since there is no remainingemit_node_span_lintcalls, I replaced the method with the code ofemit_diag_node_span_lint.r? @JonathanBrouwer