about summary refs log tree commit diff
path: root/src/test/ui/alloc-error
diff options
context:
space:
mode:
authorOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2022-12-09 15:56:23 +0000
committerOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2022-12-13 09:48:22 +0000
commitcb26b35b12d810d7a8215869d9e434c4b0c7f25c (patch)
treeaba9abf603b5700c176884740d05463a2a18c611 /src/test/ui/alloc-error
parent71ec1457ee9868a838e4521a3510cdd416c0c295 (diff)
downloadrust-cb26b35b12d810d7a8215869d9e434c4b0c7f25c.tar.gz
rust-cb26b35b12d810d7a8215869d9e434c4b0c7f25c.zip
Make some diagnostics not depend on the source of what they reference being available
Diffstat (limited to 'src/test/ui/alloc-error')
-rw-r--r--src/test/ui/alloc-error/alloc-error-handler-bad-signature-2.stderr3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/test/ui/alloc-error/alloc-error-handler-bad-signature-2.stderr b/src/test/ui/alloc-error/alloc-error-handler-bad-signature-2.stderr
index adb652fe616..2673ee9f937 100644
--- a/src/test/ui/alloc-error/alloc-error-handler-bad-signature-2.stderr
+++ b/src/test/ui/alloc-error/alloc-error-handler-bad-signature-2.stderr
@@ -17,9 +17,6 @@ LL | |  }
    = note: struct `core::alloc::Layout` and struct `Layout` have similar names, but are actually distinct types
 note: struct `core::alloc::Layout` is defined in crate `core`
   --> $SRC_DIR/core/src/alloc/layout.rs:LL:COL
-   |
-LL | pub struct Layout {
-   | ^^^^^^^^^^^^^^^^^
 note: struct `Layout` is defined in the current crate
   --> $DIR/alloc-error-handler-bad-signature-2.rs:7:1
    |