-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
Convert to inline diagnostics in rustc_const_eval
#152186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Convert to inline diagnostics in rustc_const_eval
#152186
Conversation
|
Some changes occurred to the CTFE / Miri interpreter cc @rust-lang/miri Some changes occurred to constck cc @fee1-dead
cc @rust-lang/wg-const-eval Some changes occurred to the CTFE machinery |
This comment has been minimized.
This comment has been minimized.
|
@rustbot author |
This comment has been minimized.
This comment has been minimized.
3225771 to
d575741
Compare
543765c to
c41480e
Compare
|
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. |
This comment has been minimized.
This comment has been minimized.
02277e3 to
c682902
Compare
|
@bors r+ rollup |
…onst_eval, r=JonathanBrouwer Convert to inline diagnostics in `rustc_const_eval` Part of rust-lang#151366. r? @JonathanBrouwer
| fluent::const_eval_invalid_align_details, | ||
| inline_fluent!( | ||
| "invalid align passed to `{$name}`: {$align} is {$err_kind -> | ||
| [not_power_of_two] not a power of 2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are ugly but I will fix this in a separate PR for all crates simultaneously :)
…onst_eval, r=JonathanBrouwer Convert to inline diagnostics in `rustc_const_eval` Part of rust-lang#151366. r? @JonathanBrouwer
…uwer Rollup of 5 pull requests Successful merges: - #149960 (add `unreachable_cfg_select_predicates` lint) - #152126 (Convert to inline diagnostics in `rustc_mir_build`) - #152186 (Convert to inline diagnostics in `rustc_const_eval`) - #152234 (Dont strip const blocks in array lengths) - #152243 (Use relative paths for std links in rustc-docs)
Rollup merge of #152186 - GuillaumeGomez:inline-diag-rustc_const_eval, r=JonathanBrouwer Convert to inline diagnostics in `rustc_const_eval` Part of #151366. r? @JonathanBrouwer
|
@rust-timer build 3f41e19 |
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (3f41e19): comparison URL. Overall result: ❌✅ regressions and improvements - 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 countOur most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
Max RSS (memory usage)Results (primary -5.3%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesThis benchmark run did not return any relevant results for this metric. Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 474.536s -> 474.919s (0.08%) |
Part of #151366.
r? @JonathanBrouwer