1 #![stable(feature = "core", since = "1.6.0")]
2 #![feature(staged_api)]
3 #![feature(const_precise_live_drops)]
10 impl<T> Either<T, T> {
11 #[stable(feature = "rust1", since = "1.0.0")]
12 #[rustc_const_stable(feature = "foo", since = "1.0.0")]
13 pub const fn unwrap(self) -> T {
14 //~^ ERROR destructors cannot be evaluated at compile-time