about summary refs log tree commit diff
path: root/compiler/rustc_trait_selection/src/errors.rs
diff options
context:
space:
mode:
authorJacob Pratt <jacob@jhpratt.dev>2024-04-02 20:37:40 -0400
committerGitHub <noreply@github.com>2024-04-02 20:37:40 -0400
commite41d7e7aaf255d5e14f6afb8fa235e44bff1b975 (patch)
tree09fc7bf87da0f89c4e62af9e0159b4d34e6838c3 /compiler/rustc_trait_selection/src/errors.rs
parente9ef8e1efa387fa235d63c191492f63f70959348 (diff)
parent0fcdf3486146b5b2fc5d4b7f3bcaffbbb6a95fdc (diff)
downloadrust-e41d7e7aaf255d5e14f6afb8fa235e44bff1b975.tar.gz
rust-e41d7e7aaf255d5e14f6afb8fa235e44bff1b975.zip
Rollup merge of #123182 - jhpratt:fix-decodable-derive, r=davidtwco
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
Diffstat (limited to 'compiler/rustc_trait_selection/src/errors.rs')
0 files changed, 0 insertions, 0 deletions