about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/ty/instance.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-06-18 07:20:26 +0000
committerbors <bors@rust-lang.org>2024-06-18 07:20:26 +0000
commitf873ae029e3ee2bbb8bc70a7ef3f1a06c22b0eac (patch)
tree5b61c7f6253849192a9e518bccfce08a20c7cd56 /compiler/rustc_middle/src/ty/instance.rs
parent737e42308c6e957575692965d73b17937f936f28 (diff)
parent6c2507cab5711f94305841b43f6623ad80d7448b (diff)
downloadrust-f873ae029e3ee2bbb8bc70a7ef3f1a06c22b0eac.tar.gz
rust-f873ae029e3ee2bbb8bc70a7ef3f1a06c22b0eac.zip
Auto merge of #126330 - m-ou-se:panic-message-type, r=Amanieu
Return opaque type from PanicInfo::message()

This changes the return type of the (unstable) PanicInfo::message() method to an opaque type (that implements Display). This allows for a bit more flexibility in the future.

See https://github.com/rust-lang/rust/issues/66745
Diffstat (limited to 'compiler/rustc_middle/src/ty/instance.rs')
0 files changed, 0 insertions, 0 deletions