Remove TranslationError#153228
Conversation
|
cc @Muscraft
cc @Muscraft
cc @davidtwco, @TaKO8Ki |
|
r? @jieyouxu rustbot has assigned @jieyouxu. Use Why was this reviewer chosen?The reviewer was selected based on:
|
This comment has been minimized.
This comment has been minimized.
d2aeb33 to
6e8d9c1
Compare
sure! i'm pretty free now, except i have a flight in four hours, so, i'm not sure if i'll be able to review this tomorrow, but it's very likely i'll be able to do it the day after tomorrow, which is a more realistic timeframe in the meanwhile, feel free to create those PRs, i'll review them once i get home |
|
No hurry with reviewing, a delay of a few days for reviewing is perfectly normal :) |
|
@bors r=lqd rollup |
…uwer Rollup of 9 pull requests Successful merges: - #146989 (Inhibit all-absent-variant optimization for all enum reprs that inhibit layout optimization, not just repr(C).) - #151991 (std: sys: pal: uefi: os: Implement split_paths) - #152794 (Fix ICE in `try_to_raw_bytes` when array elements have mismatched) - #153052 (std random.rs: update link to RTEMS docs) - #153054 (docs: note env var influence on `temp_dir` and `env_clear` on Windows) - #153061 (cleanup `tests/ui/box`, part 2) - #153197 (style: Update doctests for `TryFrom<integer> for bool` and `From<bool> for float`) - #153210 (Fix ICE on empty file with -Zquery-dep-graph) - #153228 (Remove `TranslationError`)
Rollup merge of #153228 - JonathanBrouwer:remove_translate_error, r=lqd Remove `TranslationError` This function is now infallible, since the diagnostic message and presence of variables is already parsed in the `msg!` or `derive(Diagnostic)` macro. In practice, the result of this function was just unwrapped everywhere anyways... r? @Kivooeo if you feel like reviewing diagnostics PRs again, I have a few more coming :) (Tho other people are also free to steal these PRs)
This function is now infallible, since the diagnostic message and presence of variables is already parsed in the
msg!orderive(Diagnostic)macro.In practice, the result of this function was just unwrapped everywhere anyways...
r? @Kivooeo if you feel like reviewing diagnostics PRs again, I have a few more coming :)
(Tho other people are also free to steal these PRs)