]> git.proxmox.com Git - rustc.git/blob - src/test/ui/consts/stable-precise-live-drops-in-libcore.stderr
New upstream version 1.66.0+dfsg1
[rustc.git] / src / test / ui / consts / stable-precise-live-drops-in-libcore.stderr
1 error[E0493]: destructor of `Either<T, T>` cannot be evaluated at compile-time
2 --> $DIR/stable-precise-live-drops-in-libcore.rs:13:25
3 |
4 LL | pub const fn unwrap(self) -> T {
5 | ^^^^ the destructor for this type cannot be evaluated in constant functions
6 ...
7 LL | }
8 | - value is dropped here
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0493`.