Make rustc_attr_parsing::SharedContext::emit_lint take a MultiSpan instead of a Span#155097
Conversation
…` instead of a `Span`
|
Some changes occurred in compiler/rustc_attr_parsing cc @jdonszelmann, @JonathanBrouwer
cc @TaKO8Ki |
|
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Make `rustc_attr_parsing::SharedContext::emit_lint` take a `MultiSpan` instead of a `Span`
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (2b8e249): comparison URL. Overall result: no relevant changes - no action neededBenchmarking means the PR may be perf-sensitive. It's automatically marked not fit for rolling up. Overriding is possible but disadvised: it risks changing compiler perf. @bors rollup=never Instruction countThis perf run didn't have relevant results for this metric. Max RSS (memory usage)Results (primary 0.1%, secondary -0.6%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary 3.3%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeResults (primary -0.1%, secondary -0.0%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Bootstrap: 488.4s -> 490.725s (0.48%) |
|
Perfect. :3 @bors r=JonathanBrouwer rollup |
…uwer Rollup of 6 pull requests Successful merges: - #152901 (Introduce a `#[diagnostic::on_unknown]` attribute) - #155078 (Reject dangling attributes in where clauses) - #154449 (Invert dependency between `rustc_errors` and `rustc_abi`.) - #154646 (Add suggestion to `.to_owned()` used on `Cow` when borrowing) - #154993 (compiletest: pass -Zunstable-options for unpretty and no-codegen paths) - #155097 (Make `rustc_attr_parsing::SharedContext::emit_lint` take a `MultiSpan` instead of a `Span`)
Rollup merge of #155097 - GuillaumeGomez:emit_lint-multispan, r=JonathanBrouwer Make `rustc_attr_parsing::SharedContext::emit_lint` take a `MultiSpan` instead of a `Span` I'll likely need it for #153721 to allow emitting the lint on one attribute at a time instead of each of the wrong values. r? @JonathanBrouwer
I'll likely need it for #153721 to allow emitting the lint on one attribute at a time instead of each of the wrong values.
r? @JonathanBrouwer