Adjust tests for removal of impl Foo for .. {}
This commit is contained in:
committed by
Vadim Petrochenkov
parent
f93183adb4
commit
02b5fee732
@@ -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.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user