about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFelix S. Klock II <pnkfelix@pnkfx.org>2018-08-31 15:41:48 +0200
committerFelix S. Klock II <pnkfelix@pnkfx.org>2018-09-06 13:00:26 +0200
commit175d7f4e4897ef6a580af4f21c4b17244af25f71 (patch)
tree82213ffd810929b50159d5e50067475d076933c0
parentd18b3bf10422e17311991cceaf3a554720f66bd5 (diff)
downloadrust-175d7f4e4897ef6a580af4f21c4b17244af25f71.tar.gz
rust-175d7f4e4897ef6a580af4f21c4b17244af25f71.zip
Add `.stderr` file for test where there are conflicting repr hints.
See rust-lang/rust#53857.
-rw-r--r--src/test/ui/run-pass/issues/issue-39720.stderr16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/test/ui/run-pass/issues/issue-39720.stderr b/src/test/ui/run-pass/issues/issue-39720.stderr
new file mode 100644
index 00000000000..7b717d86335
--- /dev/null
+++ b/src/test/ui/run-pass/issues/issue-39720.stderr
@@ -0,0 +1,16 @@
+warning[E0566]: conflicting representation hints
+  --> $DIR/issue-39720.rs:18:8
+   |
+LL | #[repr(C)]
+   |        ^
+LL | #[repr(simd)]
+   |        ^^^^
+
+warning[E0566]: conflicting representation hints
+  --> $DIR/issue-39720.rs:23:8
+   |
+LL | #[repr(C)]
+   |        ^
+LL | #[repr(simd)]
+   |        ^^^^
+