4

Avoid expanding to unstable internal method by jhpratt · Pull Request #123182 ·...

 2 weeks ago
source link: https://github.com/rust-lang/rust/pull/123182
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Conversation

Member

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

pitdicker reacted with heart emoji

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK