about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorgaurikholkar <f2013002@goa.bits-pilani.ac.in>2017-06-01 15:46:26 +0530
committergaurikholkar <f2013002@goa.bits-pilani.ac.in>2017-06-07 01:38:05 +0530
commitbc7eb3bd3af6e9108733d2bb9432381abf1cc278 (patch)
treeccd7241b904c6781b80580b22596375982aea24e /src/libstd
parenta032cb89c5d9b436c1c57f8a6d5961d898f5c2b6 (diff)
downloadrust-bc7eb3bd3af6e9108733d2bb9432381abf1cc278.tar.gz
rust-bc7eb3bd3af6e9108733d2bb9432381abf1cc278.zip
Changing error message for interior mutability, adding ui test
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/panic.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/panic.rs b/src/libstd/panic.rs
index f99634ecac2..58356bc43ee 100644
--- a/src/libstd/panic.rs
+++ b/src/libstd/panic.rs
@@ -112,7 +112,7 @@ pub trait UnwindSafe {}
 /// This is a "helper marker trait" used to provide impl blocks for the
 /// `UnwindSafe` trait, for more information see that documentation.
 #[stable(feature = "catch_unwind", since = "1.9.0")]
-#[rustc_on_unimplemented = "the type {Self} contains interior mutability \
+#[rustc_on_unimplemented = "the type {Self} may contain interior mutability \
                             and a reference may not be safely transferrable \
                             across a catch_unwind boundary"]
 pub trait RefUnwindSafe {}