Skip to content

Commit

Permalink
Rollup merge of #123182 - jhpratt:fix-decodable-derive, r=davidtwco
Browse files Browse the repository at this point in the history
Avoid expanding to unstable internal method

Fixes #123156

Rather than expanding to `std::rt::begin_panic`, the expansion is now to `unreachable!()`. The resulting behavior is identical. A test that previously triggered the same error as #123156 has been added to ensure it does not regress.

r? compiler
  • Loading branch information
jhpratt authored Apr 3, 2024
2 parents 0f16c9b + 0c0894c commit 081d28a
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 081d28a

Please sign in to comment.