From 02b5fee7325bc0f1c8adb1dedb4fd617aa9155a3 Mon Sep 17 00:00:00 2001 From: "leonardo.yvens" Date: Sun, 3 Dec 2017 10:56:53 -0200 Subject: Adjust tests for removal of `impl Foo for .. {}` --- src/libstd/panic.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libstd') 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. /// -- cgit 1.4.1-3-g733a5