about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorleonardo.yvens <leoyvens@gmail.com>2017-12-03 10:56:53 -0200
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>2018-01-13 18:48:00 +0300
commit02b5fee7325bc0f1c8adb1dedb4fd617aa9155a3 (patch)
tree04d6cd2a98844a1c8f3f7125fb57efe3df53c7b6 /src/libstd
parentf93183adb43cff4cc0972ce133ce077f8cae1656 (diff)
downloadrust-02b5fee7325bc0f1c8adb1dedb4fd617aa9155a3.tar.gz
rust-02b5fee7325bc0f1c8adb1dedb4fd617aa9155a3.zip
Adjust tests for removal of `impl Foo for .. {}`
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/panic.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/panic.rs b/src/libstd/panic.rs
index 1be3844e29a..53c2211745c 100644
--- a/src/libstd/panic.rs
+++ b/src/libstd/panic.rs
@@ -101,7 +101,7 @@ pub use panicking::{take_hook, set_hook, PanicInfo, Location};
 #[stable(feature = "catch_unwind", since = "1.9.0")]
 #[rustc_on_unimplemented = "the type {Self} may not be safely transferred \
                             across an unwind boundary"]
-pub trait UnwindSafe {}
+pub auto trait UnwindSafe {}
 
 /// A marker trait representing types where a shared reference is considered
 /// unwind safe.
@@ -115,7 +115,7 @@ pub trait UnwindSafe {}
 #[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 {}
+pub auto trait RefUnwindSafe {}
 
 /// A simple wrapper around a type to assert that it is unwind safe.
 ///