]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/issues/issue-17959.stderr
Auto merge of #57108 - Mark-Simulacrum:license-remove, r=pietroalbini
[rust.git] / src / test / ui / issues / issue-17959.stderr
index 626b670ae35553501e72ba0bedc18439ad811562..790e8f7c79824c64fc8e3f7982f4fe6f91a961d0 100644 (file)
@@ -1,5 +1,5 @@
 error[E0367]: The requirement `T: std::marker::Sized` is added only by the Drop impl.
-  --> $DIR/issue-17959.rs:21:1
+  --> $DIR/issue-17959.rs:11:1
    |
 LL | / impl<T> Drop for G<T> {
 LL | | //~^ ERROR: The requirement `T: std::marker::Sized` is added only by the Drop impl. [E0367]
@@ -11,7 +11,7 @@ LL | | }
    | |_^
    |
 note: The same requirement must be part of the struct/enum definition
-  --> $DIR/issue-17959.rs:17:1
+  --> $DIR/issue-17959.rs:7:1
    |
 LL | / struct G<T: ?Sized> {
 LL | |     _ptr: *const T