]> git.proxmox.com Git - rustc.git/blob - src/test/ui/issues/issue-17959.stderr
New upstream version 1.66.0+dfsg1
[rustc.git] / src / test / ui / issues / issue-17959.stderr
1 error[E0367]: `Drop` impl requires `T: Sized` but the struct it is implemented for does not
2 --> $DIR/issue-17959.rs:11:6
3 |
4 LL | impl<T> Drop for G<T> {
5 | ^
6 |
7 note: the implementor must specify the same requirement
8 --> $DIR/issue-17959.rs:7:1
9 |
10 LL | struct G<T: ?Sized> {
11 | ^^^^^^^^^^^^^^^^^^^
12
13 error: aborting due to previous error
14
15 For more information about this error, try `rustc --explain E0367`.